about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authornora <48135649+Noratrieb@users.noreply.github.com>2025-05-12 16:15:24 +0200
committerTrevor Gross <t.gross35@gmail.com>2025-05-12 16:26:35 +0200
commitc4c7f25c4cbf2615c59ee45343d05b0cf5046a6d (patch)
tree48f2a7b011208f410fcc2b1f3981588901290d8c /library
parent1768cb17317a038f812d1159f2e002b92c3fbb2c (diff)
downloadrust-c4c7f25c4cbf2615c59ee45343d05b0cf5046a6d.tar.gz
rust-c4c7f25c4cbf2615c59ee45343d05b0cf5046a6d.zip
Remove cfg(bootstrap)
Foe the  bootstrap bump
Diffstat (limited to 'library')
-rw-r--r--library/compiler-builtins/compiler-builtins/src/macros.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/library/compiler-builtins/compiler-builtins/src/macros.rs b/library/compiler-builtins/compiler-builtins/src/macros.rs
index dbf71553440..22e0dd27f2f 100644
--- a/library/compiler-builtins/compiler-builtins/src/macros.rs
+++ b/library/compiler-builtins/compiler-builtins/src/macros.rs
@@ -433,18 +433,6 @@ macro_rules! intrinsics {
     ) => (
         // `#[naked]` definitions are referenced by other places, so we can't use `cfg` like the others
         pub mod $name {
-            // FIXME: when bootstrap supports `#[unsafe(naked)]` this duplication can be removed
-            #[cfg(bootstrap)]
-            #[naked]
-            #[allow(unused_unsafe)]
-            $(#[$($attr)*])*
-            #[cfg_attr(not(feature = "mangled-names"), no_mangle)]
-            #[cfg_attr(not(any(all(windows, target_env = "gnu"), target_os = "cygwin")), linkage = "weak")]
-            pub unsafe extern $abi fn $name( $($argname: $ty),* ) $(-> $ret)? {
-                unsafe { $($body)* }
-            }
-
-            #[cfg(not(bootstrap))]
             #[unsafe(naked)]
             $(#[$($attr)*])*
             #[cfg_attr(not(feature = "mangled-names"), no_mangle)]