about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-03-28 08:16:47 +0000
committerbors <bors@rust-lang.org>2020-03-28 08:16:47 +0000
commitb76238a3ee5ebffbad8a3aefd36012f3bceb7069 (patch)
tree4a89d67bf0865579c6f29aea7342dac3b1fe1650 /src/libstd/sys/unix/stack_overflow.rs
parent2acf32d9adff836a3111c039e4e10a48ee5c79b5 (diff)
parent53c4e0c19ac220085638e856999639fe26cb2a00 (diff)
downloadrust-b76238a3ee5ebffbad8a3aefd36012f3bceb7069.tar.gz
rust-b76238a3ee5ebffbad8a3aefd36012f3bceb7069.zip
Auto merge of #70095 - jsgf:link-native, r=nagisa
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/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions