Document -Zlink-native-libraries

Originally added in #70095.
This commit is contained in:
Tyler Mandry 2023-09-27 17:12:40 -07:00
parent 5899a80ae6
commit f4ed73119a

View File

@ -0,0 +1,8 @@
# `link-native-libraries`
This option allows ignoring libraries specified in `#[link]` attributes instead of passing them to the linker.
This can be useful in build systems that manage native libraries themselves and pass them manually,
e.g. with `-Clink-arg`.
- `yes` - Pass native libraries to the linker. Default.
- `no` - Don't pass native libraries to the linker.