Skip to content

Commit ee05644

Browse files
committed
Document -Zlink-native-libraries
Originally added in #70095.
1 parent 5899a80 commit ee05644

File tree

10 files changed

+17
-9
lines changed

10 files changed

+17
-9
lines changed

library/stdarch

Submodule stdarch updated 54 files
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# `link-native-libraries`
2+
3+
This option allows ignoring libraries specified in `#[link]` attributes instead of passing them to the linker.
4+
This can be useful in build systems that manage native libraries themselves and pass them manually,
5+
e.g. with `-Clink-arg`.
6+
7+
- `yes` - Pass native libraries to the linker. Default.
8+
- `no` - Don't pass native libraries to the linker.

src/llvm-project

Submodule llvm-project updated 495 files

src/tools/cargo

Submodule cargo updated 468 files

0 commit comments

Comments
 (0)