Skip to content

Commit

Permalink
Revert "Move asm! and global_asm! to core::arch (#1183)" (#1185)
Browse files Browse the repository at this point in the history
This reverts commit 9437b11.
  • Loading branch information
bstrie authored Jul 20, 2021
1 parent ec98933 commit 74275ae
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions crates/core_arch/src/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 74275ae

Please sign in to comment.