Skip to content
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

cmd/link: go doc cmd/link and go tool link -h see different options #72086

Open
linsite opened this issue Mar 4, 2025 · 1 comment
Open

cmd/link: go doc cmd/link and go tool link -h see different options #72086

linsite opened this issue Mar 4, 2025 · 1 comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. Documentation Issues describing a change to documentation. NeedsFix The path to resolution is known, but the work has not been done.

Comments

@linsite
Copy link
Contributor

linsite commented Mar 4, 2025

by roughly checking , go tool link -h at least has -randlayout, -capturehostobjs,-benchmark, -benchmarkprofile options which go doc cmd/link doesn't.

go version devel go1.25-fbfc9e09cb Thu Feb 27 08:22:57 2025 +0800 linux/arm64

is this intended or should be consistent?

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Mar 4, 2025
@gabyhelp gabyhelp added the Documentation Issues describing a change to documentation. label Mar 4, 2025
@ianlancetaylor
Copy link
Member

It should be kept consistent.

@ianlancetaylor ianlancetaylor added the NeedsFix The path to resolution is known, but the work has not been done. label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. Documentation Issues describing a change to documentation. NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

4 participants