Skip to content

Commit

Permalink
Rollup merge of rust-lang#116213 - tmandry:doclnl, r=ehuss
Browse files Browse the repository at this point in the history
Document -Zlink-native-libraries

Originally added in rust-lang#70095.
  • Loading branch information
matthiaskrgr authored Sep 28, 2023
2 parents fa5b2fe + f4ed731 commit be51067
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit be51067

Please sign in to comment.