diff options
| author | Ryan Lopopolo <rjl@hyperbo.la> | 2022-10-20 07:35:16 -0700 |
|---|---|---|
| committer | Ryan Lopopolo <rjl@hyperbo.la> | 2022-10-20 07:37:17 -0700 |
| commit | efe61dab2148ff0780a85b045052e898fd800492 (patch) | |
| tree | 5f2cc640676cd6770fdc020d4f018d134e01a75f | |
| parent | 531679684cc4caca916210adf4efb542e33d97f1 (diff) | |
| download | rust-efe61dab2148ff0780a85b045052e898fd800492.tar.gz rust-efe61dab2148ff0780a85b045052e898fd800492.zip | |
Skip C-unwind fn pointer impls with the bootstrap compiler
These need to wait until #103239 makes it into the bootstrap compiler.
| -rw-r--r-- | library/core/src/ptr/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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),*) => { |
