about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-10 18:57:58 +0000
committerbors <bors@rust-lang.org>2024-08-10 18:57:58 +0000
commit04dff01740de7477013ef810e2639ab70042412a (patch)
treecf76dc08f9e802142fbef04a63669c454be02817 /src/doc
parent04ba50e8233042f810206c2cd18aace50961e247 (diff)
parent3d2d7cfe18aa19c4827d264cd4259125ed922224 (diff)
downloadrust-04dff01740de7477013ef810e2639ab70042412a.tar.gz
rust-04dff01740de7477013ef810e2639ab70042412a.zip
Auto merge of #128400 - petrochenkov:nowhole3, r=bjorn3
linker: Remove the "`--whole-archive` in test mode" backcompat hack

Fixes https://github.com/rust-lang/rust/issues/116910.
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/command-line-arguments.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md
index 72ab8ab5ce9..fa23e3e414d 100644
--- a/src/doc/rustc/src/command-line-arguments.md
+++ b/src/doc/rustc/src/command-line-arguments.md
@@ -96,9 +96,7 @@ This modifier translates to `--whole-archive` for `ld`-like linkers,
 to `/WHOLEARCHIVE` for `link.exe`, and to `-force_load` for `ld64`.
 The modifier does nothing for linkers that don't support it.
 
-The default for this modifier is `-whole-archive`. \
-NOTE: The default may currently be different in some cases for backward compatibility,
-but it is not guaranteed. If you need whole archive semantics use `+whole-archive` explicitly.
+The default for this modifier is `-whole-archive`.
 
 ### Linking modifiers: `bundle`