about summary refs log tree commit diff
path: root/src/libpanic_abort/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpanic_abort/lib.rs')
-rw-r--r--src/libpanic_abort/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpanic_abort/lib.rs b/src/libpanic_abort/lib.rs
index 6ea818ecef8..d894b50e077 100644
--- a/src/libpanic_abort/lib.rs
+++ b/src/libpanic_abort/lib.rs
@@ -115,7 +115,7 @@ pub mod personalities {
     // Note that we don't execute landing pads, so this is never called, so it's
     // body is empty.
     #[no_mangle]
-    #[cfg(all(target_os = "windows", target_env = "gnu"))]
+    #[cfg(all(bootstrap, target_os = "windows", target_env = "gnu"))]
     pub extern "C" fn rust_eh_unwind_resume() {}
 
     // These two are called by our startup objects on i686-pc-windows-gnu, but