about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2021-12-10 00:15:33 +0000
committerAmanieu d'Antras <amanieu@gmail.com>2021-12-12 11:20:03 +0000
commit44a3a66ee890545a2c1ac78ff8f107fe5e7204f9 (patch)
tree8821e53e6c339fca0b3fc58e34fc702a0866d087 /compiler/rustc_codegen_gcc
parentb3a55371a72f665f5d9476d07980e76d3e755fe6 (diff)
Stabilize asm! and global_asm!
They are also removed from the prelude as per the decision in
https://github.com/rust-lang/rust/issues/87228.

stdarch and compiler-builtins are updated to work with the new, stable
asm! and global_asm! macros.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/tests/run/asm.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/run/asm.rs b/compiler/rustc_codegen_gcc/tests/run/asm.rs
index 9c0055b0b6b..48c0203d594 100644
--- a/compiler/rustc_codegen_gcc/tests/run/asm.rs
+++ b/compiler/rustc_codegen_gcc/tests/run/asm.rs
@@ -3,8 +3,6 @@
 // Run-time:
 //   status: 0
 
-#![feature(asm, global_asm)]
-
 global_asm!("
     .global add_asm
 add_asm: