Skip to content

Commit

Permalink
Document -Zlink-native-libraries
Browse files Browse the repository at this point in the history
Originally added in rust-lang#70095.
  • Loading branch information
tmandry committed Sep 28, 2023
1 parent 5899a80 commit f4ed731
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 f4ed731

Please sign in to comment.