-
Notifications
You must be signed in to change notification settings - Fork 764
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
extension: customize build for tools #3254
base: master
Are you sure you want to change the base?
Conversation
NB: this PR is merely RFC despite of code working. |
Example settings: {
"go.toolsManagement.buildFlags": [
"-ldflags", "-s -w"
],
"go.toolsManagement.buildTags": "grpcnotrace",
"go.toolsManagement.envVars": {
"CGO_ENABLED": "0",
"GOAMD64": "v3"
}
} |
This PR (HEAD: 5fc30ae) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/vscode-go/+/571856. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/571856. |
This change allows one to specify build settings used to install tools. E.g. the one may specify "GOAMD64=v3" for tools (in order to match current machine specs) but proceed with defaults (i.e. "GOAMD64=v1") for builds/tests globally.
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be Please don’t reply on this GitHub thread. Visit golang.org/cl/571856. |
This PR (HEAD: df6c792) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/vscode-go/+/571856. Important tips:
|
This change allows one to specify build settings used to install tools.
E.g. the one may specify "GOAMD64=v3" for tools (in order to match current
machine specs) but proceed with defaults (i.e. "GOAMD64=v1")
for builds/tests globally.