Skip to content

Commit

Permalink
Skip C-unwind fn pointer impls with the bootstrap compiler
Browse files Browse the repository at this point in the history
These need to wait until #103239 makes it into the bootstrap compiler.
  • Loading branch information
lopopolo committed Oct 20, 2022
1 parent 5316796 commit efe61da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/ptr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),*) => {
Expand Down

0 comments on commit efe61da

Please sign in to comment.