mirror of https://github.com/golang/go.git
cmd/link: document that -s implies -w
The Go 1.22 release notes state that -s implies -w; however, the documentation makes no such reference. This updates the documentation to better match the release notes. The Go 1.22 release notes can be found at https://tip.golang.org/doc/go1.22#linker Fixes #71051
This commit is contained in:
parent
2b794ed86c
commit
a3e462c416
|
|
@ -118,6 +118,7 @@ Flags:
|
|||
Link with race detection libraries.
|
||||
-s
|
||||
Omit the symbol table and debug information.
|
||||
Implies the -w flag, which can be negated with -w=0.
|
||||
-tmpdir dir
|
||||
Write temporary files to dir.
|
||||
Temporary files are only used in external linking mode.
|
||||
|
|
|
|||
Loading…
Reference in New Issue