Skip to content

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

@linsite

Description

@linsite

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.NeedsFixThe path to resolution is known, but the work has not been done.SuggestedIssues that may be good for new contributors looking for work to do.compiler/runtimeIssues related to the Go compiler and/or runtime.help wanted

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions