about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/errors.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-04-24 14:47:27 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-06-20 12:14:11 +0000
commita0badba6eeb4b24dd9748f5e99cec285b473c43b (patch)
treebb161a4e31380c0031c6be8ecbba0a2c5aa0a1bb /compiler/rustc_resolve/src/errors.rs
parent2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 (diff)
downloadrust-a0badba6eeb4b24dd9748f5e99cec285b473c43b.tar.gz
rust-a0badba6eeb4b24dd9748f5e99cec285b473c43b.zip
Pass -Cpanic=abort for the panic_abort crate
The panic_abort crate must be compiled with panic=abort, but cargo
doesn't allow setting the panic strategy for a single crate the usual
way using panic="abort", but luckily per-package rustflags do allow
this. Bootstrap previously handled this in its rustc wrapper, but for
example the build systems of cg_clif and cg_gcc don't use the rustc
wrapper, so they would either need to add one, patch the standard
library or be unable to build a sysroot suitable for both panic=abort
and panic=unwind (as is currently the case).
Diffstat (limited to 'compiler/rustc_resolve/src/errors.rs')
0 files changed, 0 insertions, 0 deletions