about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Lopopolo <rjl@hyperbo.la>2022-10-20 07:35:16 -0700
committerRyan Lopopolo <rjl@hyperbo.la>2022-10-20 07:37:17 -0700
commitefe61dab2148ff0780a85b045052e898fd800492 (patch)
tree5f2cc640676cd6770fdc020d4f018d134e01a75f
parent531679684cc4caca916210adf4efb542e33d97f1 (diff)
downloadrust-efe61dab2148ff0780a85b045052e898fd800492.tar.gz
rust-efe61dab2148ff0780a85b045052e898fd800492.zip
Skip C-unwind fn pointer impls with the bootstrap compiler
These need to wait until #103239 makes it into the bootstrap compiler.
-rw-r--r--library/core/src/ptr/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/ptr/mod.rs b/library/core/src/ptr/mod.rs
index 757b6ef3d3e..8e2bad35993 100644
--- a/library/core/src/ptr/mod.rs
+++ b/library/core/src/ptr/mod.rs
@@ -1865,6 +1865,7 @@ macro_rules! fnptr_impls_safety_abi {
         fnptr_impls_safety_abi! { #[stable(feature = "fnptr_impls", since = "1.4.0")] $FnTy, $($Arg),* }
     };
     (@c_unwind $FnTy: ty, $($Arg: ident),*) => {
+        #[cfg(not(bootstrap))]
         fnptr_impls_safety_abi! { #[unstable(feature = "c_unwind", issue = "74990")] $FnTy, $($Arg),* }
     };
     (#[$meta:meta] $FnTy: ty, $($Arg: ident),*) => {