Skip C-unwind fn pointer impls with the bootstrap compiler

These need to wait until #103239 makes it into the bootstrap compiler.
This commit is contained in:
Ryan Lopopolo 2022-10-20 07:35:16 -07:00
parent 531679684c
commit efe61dab21
No known key found for this signature in database
GPG Key ID: 46047D739B6AE0B1

View File

@ -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),*) => {