about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-02 23:07:49 +0200
committerGitHub <noreply@github.com>2022-08-02 23:07:49 +0200
commite20f7f83c04e03ee0e758394092794ff2f3e332e (patch)
treea857190d9acb935a96048775df49c50bf99f764c
parent7a6f4616737594e737492802476a1e606e7a1418 (diff)
parent2bbdc4158e57c7839f381bff32ff294106e8e66b (diff)
downloadrust-e20f7f83c04e03ee0e758394092794ff2f3e332e.tar.gz
rust-e20f7f83c04e03ee0e758394092794ff2f3e332e.zip
Rollup merge of #100074 - petrochenkov:bundledoc, r=bjorn3
rustc-docs: Be less specific about the representation of `+bundle`

For https://github.com/rust-lang/rust/issues/99429.
r? `@bjorn3`
-rw-r--r--src/doc/rustc/src/command-line-arguments.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md
index bc04dfd4433..f05ff3f1b6b 100644
--- a/src/doc/rustc/src/command-line-arguments.md
+++ b/src/doc/rustc/src/command-line-arguments.md
@@ -89,9 +89,9 @@ but it is not guaranteed. If you need whole archive semantics use `+whole-archiv
 This modifier is only compatible with the `static` linking kind.
 Using any other kind will result in a compiler error.
 
-When building a rlib or staticlib `+bundle` means that all object files from the native static
-library will be added to the rlib or staticlib archive, and then used from it during linking of
-the final binary.
+When building a rlib or staticlib `+bundle` means that the native static library
+will be packed into the rlib or staticlib archive, and then retrieved from there
+during linking of the final binary.
 
 When building a rlib `-bundle` means that the native static library is registered as a dependency
 of that rlib "by name", and object files from it are included only during linking of the final