about summary refs log tree commit diff
path: root/src/libstd/sys/vxworks/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-27 09:20:18 -0700
committerGitHub <noreply@github.com>2020-07-27 09:20:18 -0700
commitc9cdc87d8b58be04a17212a9f72b80562f5de32c (patch)
tree2e6146bb6a8cbb7557be4522660b2141b0122569 /src/libstd/sys/vxworks/stack_overflow.rs
parente0543409d5c3835e1355831449dfd7435c4336ff (diff)
parentb99668bd221ea2fe99141e7de6db6a4b86efb7b6 (diff)
downloadrust-c9cdc87d8b58be04a17212a9f72b80562f5de32c.tar.gz
rust-c9cdc87d8b58be04a17212a9f72b80562f5de32c.zip
Rollup merge of #74803 - infinity0:fix-exec, r=nagisa
rustbuild: fix bad usage of UNIX exec() in rustc wrapper

exec never returns, it replaces the current process. so anything after it is unreachable. that's not how exec_cmd() is used in the surrounding code

We use `--on-fail env` on Debian. `env` always returns exit code 0. This means that the `rustc` bootstrap wrapper always returns exit code 0 even when it fails. However, the crossbeam-utils build process (due to autocfg) relies on `rustc` returning error exit codes when detecting CPU features, and ends up writing `cargo:rustc-cfg=has_atomic_u128` even when it's not detected, because the `rustc` wrapper is always giving exit code 0.

(This separately is causing our builds to try to compile rustc 40+ times, due to #74801.)
Diffstat (limited to 'src/libstd/sys/vxworks/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions