Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit efe61da

Browse files
committedOct 20, 2022
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

Lines changed: 1 addition & 0 deletions
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)
Please sign in to comment.