-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin: fix plugin build and load with go 1.13 #13455
Conversation
- revert `-trimpath` - disable `pluginpath`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #13455 +/- ##
================================================
+ Coverage 80.2044% 80.4282% +0.2237%
================================================
Files 472 472
Lines 114243 114987 +744
================================================
+ Hits 91628 92482 +854
+ Misses 15444 15323 -121
- Partials 7171 7182 +11 |
LGTM |
/merge |
/run-all-tests |
@lysu merge failed. |
/merge |
/run-all-tests |
@lysu merge failed. |
/merge |
/run-all-tests |
@lysu merge failed. |
/merge |
/run-all-tests |
cherry pick to release-3.0 failed |
cherry pick to release-3.1 failed |
cherry pick to release-2.1 failed |
去掉 pluginpath,是否还是支持多版本同时加载的呢? |
What problem does this PR solve?
fixes #12927
due to Go1.13's issues golang/go#34143 and golang/go#31278 (comment)
we need remove
-trimpath
in tidb makefile and-pluginpath
in plugin build tool to let plugin can work with go1.13What is changed and how it works?
-trimpath
from makefilepluginpath
in pluginpkgCheck List
Tests
build and load plugin
Code changes
Side effects
Related changes
Release note
This change is