You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardexpand all lines: docs/settings.md
+16
Original file line number
Diff line number
Diff line change
@@ -483,6 +483,22 @@ Default: `"proxy"`
483
483
The path to the `go` binary used to install the Go tools. If it's empty, the same `go` binary chosen for the project will be used for tool installation.
484
484
485
485
Default: `""`
486
+
487
+
### `go.toolsManagement.buildFlags`
488
+
489
+
Flags to `go install` used to install the Go tools. (e.g. `["-ldflags", "-s -w"]`)
490
+
491
+
Default: `[]`
492
+
### `go.toolsManagement.buildTags`
493
+
494
+
The Go build tags used to install the Go tools.
495
+
496
+
Default: `""`
497
+
### `go.toolsManagement.envVars`
498
+
499
+
Environment variables that will be used to install the Go tools.
500
+
501
+
Default: `{}`
486
502
### `go.trace.server`
487
503
488
504
Trace the communication between VS Code and the Go language server.<br/>
0 commit comments