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.
This commit is contained in:
Amanieu d'Antras 2021-12-10 00:15:33 +00:00
parent c6009ca30f
commit eec5f919e7

View File

@ -3,8 +3,6 @@
// Run-time:
// status: 0
#![feature(asm, global_asm)]
global_asm!("
.global add_asm
add_asm: