Skip to content

Commit f4ed731

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
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.

0 commit comments

Comments
 (0)