about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-09 04:36:24 +0000
committerbors <bors@rust-lang.org>2021-01-09 04:36:24 +0000
commitc87ef0a2fcedaa865ff7713953824d0ea9734720 (patch)
tree20881fcd1e9c6f9bd525434b29959eff51f3b725 /library/std/src/sys/unix/stack_overflow.rs
parent26438b473883ea607b30288e461187f0fb2fe589 (diff)
parent80ca198212e967684557075b2f86b44e18048c70 (diff)
downloadrust-c87ef0a2fcedaa865ff7713953824d0ea9734720.tar.gz
rust-c87ef0a2fcedaa865ff7713953824d0ea9734720.zip
Auto merge of #80749 - as-com:target-cpu-actually-native, r=nagisa
Make target-cpu=native detect individual features

This PR makes target-cpu=native check for and enable/disable individual features instead of detecting and targeting a CPU by name. This brings the flag's behavior more in line with clang and gcc and ensures that the host actually supports each feature that we are compiling for.

This should resolve issues with miscompilations on e.g. "Haswell" Pentiums and Celerons that lack support for AVX, and also enable support for `aes` on Broadwell processors that support it. It should also resolve issues with failing to detect feature support in newer CPUs that aren't yet known by LLVM (see: #80633).

Fixes #54688
Fixes #48464
Fixes #38218
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions