Skip to content

Commit efe61da

Browse files
committed
Skip C-unwind fn pointer impls with the bootstrap compiler
These need to wait until #103239 makes it into the bootstrap compiler.
1 parent 5316796 commit efe61da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/ptr/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1865,6 +1865,7 @@ macro_rules! fnptr_impls_safety_abi {
18651865
fnptr_impls_safety_abi! { #[stable(feature = "fnptr_impls", since = "1.4.0")] $FnTy, $($Arg),* }
18661866
};
18671867
(@c_unwind $FnTy: ty, $($Arg: ident),*) => {
1868+
#[cfg(not(bootstrap))]
18681869
fnptr_impls_safety_abi! { #[unstable(feature = "c_unwind", issue = "74990")] $FnTy, $($Arg),* }
18691870
};
18701871
(#[$meta:meta] $FnTy: ty, $($Arg: ident),*) => {

0 commit comments

Comments
 (0)