about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2020-03-17 19:10:56 -0700
committerJeremy Fitzhardinge <jeremy@goop.org>2020-03-27 11:57:05 -0700
commit53c4e0c19ac220085638e856999639fe26cb2a00 (patch)
treeea7efcf79a7905776bc9d3d15209f61ff7bf0ef4 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent0a2df620735134d5907e4d4e25241a64cec2ceac (diff)
downloadrust-53c4e0c19ac220085638e856999639fe26cb2a00.tar.gz
rust-53c4e0c19ac220085638e856999639fe26cb2a00.zip
Implement -Zlink-native-libraries
This implements a flag `-Zlink-native-libraries=yes/no`. If set to true/yes, or unspecified, then
native libraries referenced via `#[link]` attributes will be put on the linker line (ie, unchanged
behaviour).

If `-Zlink-native-libraries=no` is specified then rustc will not add the native libraries to the link
line. The assumption is that the outer build system driving the build already knows about the native
libraries and will specify them to the linker directly (for example via `-Clink-arg=`).

Addresses issue #70093
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions