cmd/go: update -trimpath documentation #50402
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Built the following program with
-trimpath
(% go build -trimpath -o out
)What did you expect to see?
As described in
go1.18beta1 help build
, expected to see files from standard packages start with "go"What did you see instead?
Files from standard libraries without "go" (plain import path + file base name)
Description for packages from dependency modules seems correct.
Maybe need to mention behavior for main module files explicitly.
The text was updated successfully, but these errors were encountered: