mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: document that -s implies -w
Existing documentation does not reference implicit behavior.
Updates the documentation to reflect that -s implies -w.
Fixes #71051
Change-Id: I5c139c37f5f78596365e38479be4c865a4d4dd62
GitHub-Last-Rev: a3e462c416
GitHub-Pull-Request: golang/go#71053
Reviewed-on: https://go-review.googlesource.com/c/go/+/638976
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
fd5e0d26d9
commit
ba1deb1cee
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ Flags:
|
||||||
Link with race detection libraries.
|
Link with race detection libraries.
|
||||||
-s
|
-s
|
||||||
Omit the symbol table and debug information.
|
Omit the symbol table and debug information.
|
||||||
|
Implies the -w flag, which can be negated with -w=0.
|
||||||
-tmpdir dir
|
-tmpdir dir
|
||||||
Write temporary files to dir.
|
Write temporary files to dir.
|
||||||
Temporary files are only used in external linking mode.
|
Temporary files are only used in external linking mode.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue