about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/errors.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-06-22 08:49:03 +0200
committerGitHub <noreply@github.com>2025-06-22 08:49:03 +0200
commitaef8a76ce0a7f779e9b89c6fd46335280878a079 (patch)
tree09dcd4ba7f1aa8d9c80a7175aa9fa485def9ac22 /compiler/rustc_resolve/src/errors.rs
parent8051f012658fde822bfc661b52e90950b411e5c9 (diff)
parenta0badba6eeb4b24dd9748f5e99cec285b473c43b (diff)
downloadrust-aef8a76ce0a7f779e9b89c6fd46335280878a079.tar.gz
rust-aef8a76ce0a7f779e9b89c6fd46335280878a079.zip
Rollup merge of #140254 - bjorn3:rustc_panic_abort_abort, r=petrochenkov
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).

Required for https://github.com/rust-lang/rustc_codegen_cranelift/issues/1567
Diffstat (limited to 'compiler/rustc_resolve/src/errors.rs')
0 files changed, 0 insertions, 0 deletions