From bfb3f78b6b66a306663b727323fd0c29e538b1b7 Mon Sep 17 00:00:00 2001 From: bstrie <865233+bstrie@users.noreply.github.com> Date: Tue, 20 Jul 2021 04:49:59 -0400 Subject: [PATCH] Revert "Move `asm!` and `global_asm!` to `core::arch` (#1183)" (#1185) This reverts commit 9437b11cd4f42c5995eb41aa92ead877b9b7823a. --- library/stdarch/crates/core_arch/src/mod.rs | 26 --------------------- 1 file changed, 26 deletions(-) diff --git a/library/stdarch/crates/core_arch/src/mod.rs b/library/stdarch/crates/core_arch/src/mod.rs index b79f56dca8ff..7812dc91f9dc 100644 --- a/library/stdarch/crates/core_arch/src/mod.rs +++ b/library/stdarch/crates/core_arch/src/mod.rs @@ -11,32 +11,6 @@ mod simd; #[doc = include_str!("core_arch_docs.md")] #[stable(feature = "simd_arch", since = "1.27.0")] pub mod arch { - /// Inline assembly. - /// - /// Read the [unstable book] for the usage. - /// - /// [unstable book]: ../unstable-book/library-features/asm.html - #[unstable( - feature = "asm", - issue = "72016", - reason = "inline assembly is not stable enough for use and is subject to change" - )] - #[rustc_builtin_macro] - pub macro asm("assembly template", $(operands,)* $(options($(option),*))?) { - /* compiler built-in */ - } - - /// Module-level inline assembly. - #[unstable( - feature = "global_asm", - issue = "35119", - reason = "`global_asm!` is not stable enough for use and is subject to change" - )] - #[rustc_builtin_macro] - pub macro global_asm("assembly template", $(operands,)* $(options($(option),*))?) { - /* compiler built-in */ - } - /// Platform-specific intrinsics for the `x86` platform. /// /// See the [module documentation](../index.html) for more details.