1
Fork 0

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 b3a55371a7
commit 44a3a66ee8
123 changed files with 540 additions and 1636 deletions

View file

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