// -trimpath
// remove all file system paths from the resulting executable.
// Instead of absolute file system paths, the recorded file names
-// will begin with either "go" (for the standard library),
-// or a module path@version (when using modules),
-// or a plain import path (when using GOPATH).
+// will begin either a module path@version (when using modules),
+// or a plain import path (when using the standard library, or GOPATH).
// -toolexec 'cmd args'
// a program to use to invoke toolchain programs like vet and asm.
// For example, instead of running asm, the go command will run
-trimpath
remove all file system paths from the resulting executable.
Instead of absolute file system paths, the recorded file names
- will begin with either "go" (for the standard library),
- or a module path@version (when using modules),
- or a plain import path (when using GOPATH).
+ will begin either a module path@version (when using modules),
+ or a plain import path (when using the standard library, or GOPATH).
-toolexec 'cmd args'
a program to use to invoke toolchain programs like vet and asm.
For example, instead of running asm, the go command will run