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>2018-01-28 23:30:15 +0000
committerbors <bors@rust-lang.org>2018-01-28 23:30:15 +0000
commit385ef1514c80fb8c0cb061dc69eb1d953a84e2b3 (patch)
treecd6e3660ce89bcbe652f330b5a56ac2bacc14e2b /src/libstd/sys/unix/stack_overflow.rs
parent21882aad7299e8e859785845ac12374990f24dae (diff)
parent2875f825fd5a29d94bbfd78b1019ebdedd8d2444 (diff)
downloadrust-385ef1514c80fb8c0cb061dc69eb1d953a84e2b3.tar.gz
rust-385ef1514c80fb8c0cb061dc69eb1d953a84e2b3.zip
Auto merge of #47663 - malbarbo:mips-crt-static, r=alexcrichton
Do not assume dynamic linking for musl/mips[el] targets

All musl targets except mips[el] assume static linking by default. This can be [confusing](https://users.rust-lang.org/t/static-cross-compiled-binaries-arent-really-static/6084).

When the musl/mips[el] targets was [added](https://github.com/rust-lang/rust/pull/31298), dynamic linking was chosen because of binary size concerns, and probably also because libunwind [didn't](https://users.rust-lang.org/t/static-cross-compiled-binaries-arent-really-static/6084/8) supported mips.

Now that we have `crt-static` target-feature (the user can choose dynamic link for musl targets), and libunwind [6.0](https://github.com/llvm-mirror/libunwind/commits/release_60) add support to mips, we do not need to assume dynamic linking.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions