We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c752091 commit ec698fcCopy full SHA for ec698fc
std/src/lib.rs
@@ -210,6 +210,8 @@
210
#![allow(unused_lifetimes)]
211
// Tell the compiler to link to either panic_abort or panic_unwind
212
#![needs_panic_runtime]
213
+// Ensure that std can be linked against panic_abort despite compiled with `-C panic=unwind`
214
+#![cfg_attr(not(bootstrap), deny(ffi_unwind_calls))]
215
// std may use features in a platform-specific way
216
#![allow(unused_features)]
217
#![cfg_attr(test, feature(internal_output_capture, print_internals, update_panic_count))]
0 commit comments