about summary refs log tree commit diff
path: root/library/panic_unwind/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/panic_unwind/src/lib.rs')
-rw-r--r--library/panic_unwind/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/panic_unwind/src/lib.rs b/library/panic_unwind/src/lib.rs
index b0245de501e..4dc36120608 100644
--- a/library/panic_unwind/src/lib.rs
+++ b/library/panic_unwind/src/lib.rs
@@ -24,7 +24,7 @@
 #![feature(rustc_attrs)]
 #![panic_runtime]
 #![feature(panic_runtime)]
-#![feature(c_unwind)]
+#![cfg_attr(bootstrap, feature(c_unwind))]
 // `real_imp` is unused with Miri, so silence warnings.
 #![cfg_attr(miri, allow(dead_code))]
 #![allow(internal_features)]