cmd/link: package doc contains outdated linker flags #64476
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Suggested
Issues that may be good for new contributors looking for work to do.
Milestone
Go version
go version devel go1.22-bb8a96fa54 Fri Nov 17 21:25:34 2023 +0000 windows/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
I ran
go doc cmd/link
andgo tool link
to see what flags are available.What did you expect to see?
The list of valid flags should be the same in both results. The descriptions might be a little different (e.g. the doc might have more detailed info).
What did you see instead?
The lists of flags are different.
Example:
-u
is ingo doc cmd/link
:However, this flag was removed a few years ago in https://go-review.googlesource.com/c/go/+/236117 and doesn't show up in
go tool link --help
.The text was updated successfully, but these errors were encountered: