about summary refs log tree commit diff
path: root/src/doc/rustc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-31 10:08:53 +0200
committerGitHub <noreply@github.com>2024-08-31 10:08:53 +0200
commit9f3ce40718a2df2adec1fcf94506df7da4432a83 (patch)
treeeb3aeff6918be76c30b45a7cf7b4ffc13d24d8a6 /src/doc/rustc
parentdefc245d0661e8a994b3130cdd3514dd3b057e03 (diff)
parentac8f1320143baff8f2471985d77270f99ac42d0b (diff)
Rollup merge of #129366 - petrochenkov:libsearch, r=jieyouxu
linker: Synchronize native library search in rustc and linker

Also search for static libraries with alternative naming (`libname.a`) on MSVC when producing executables or dynamic libraries, and not just rlibs.

This unblocks https://github.com/rust-lang/rust/pull/123436.

try-job: x86_64-msvc
Diffstat (limited to 'src/doc/rustc')
-rw-r--r--src/doc/rustc/src/command-line-arguments.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md
index fa23e3e414d..e5631ba4274 100644
--- a/src/doc/rustc/src/command-line-arguments.md
+++ b/src/doc/rustc/src/command-line-arguments.md
@@ -47,7 +47,7 @@ KIND=PATH` where `KIND` may be one of:
   directory.
 - `native` — Only search for native libraries in this directory.
 - `framework` — Only search for macOS frameworks in this directory.
-- `all` — Search for all library kinds in this directory. This is the default
+- `all` — Search for all library kinds in this directory, except frameworks. This is the default
   if `KIND` is not specified.
 
 <a id="option-l-link-lib"></a>