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:
parent
c6009ca30f
commit
eec5f919e7
@ -3,8 +3,6 @@
|
|||||||
// Run-time:
|
// Run-time:
|
||||||
// status: 0
|
// status: 0
|
||||||
|
|
||||||
#![feature(asm, global_asm)]
|
|
||||||
|
|
||||||
global_asm!("
|
global_asm!("
|
||||||
.global add_asm
|
.global add_asm
|
||||||
add_asm:
|
add_asm:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user