From efe61dab2148ff0780a85b045052e898fd800492 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Thu, 20 Oct 2022 07:35:16 -0700 Subject: [PATCH] Skip C-unwind fn pointer impls with the bootstrap compiler These need to wait until #103239 makes it into the bootstrap compiler. --- library/core/src/ptr/mod.rs | 1 + 1 file changed, 1 insertion(+) 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),*) => {