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>2016-02-18 07:35:49 +0000
committerbors <bors@rust-lang.org>2016-02-18 07:35:49 +0000
commit7dd3b20119e1830d27c06ca518eb1addff674d85 (patch)
tree31205b880c4b9effb91a697a5cf10e4f490f945e /src/libstd/sys/unix/stack_overflow.rs
parenta9430a359f36e8d19505398129223a60d3f3b972 (diff)
parent6cb41e2e822ba792a6a08398557091b835cc6dde (diff)
downloadrust-7dd3b20119e1830d27c06ca518eb1addff674d85.tar.gz
rust-7dd3b20119e1830d27c06ca518eb1addff674d85.zip
Auto merge of #31727 - semarie:openbsd-llvm-cpu, r=alexcrichton
The initial purpose is to workaround the LLVM bug
https://llvm.org/bugs/show_bug.cgi?id=26554 for OpenBSD.

By default, the `cpu` is defined to `generic`. But with a 64bit
processor, the optimization for `generic` will use invalid asm code as
NOP (the generated code for NOP isn't a NOP).

According to #20777, "x86-64" is the right thing to do for x86_64
builds.

Closes: #31363

r? @alexcrichton
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions