diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2021-12-10 00:15:33 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2021-12-12 11:20:03 +0000 |
| commit | 44a3a66ee890545a2c1ac78ff8f107fe5e7204f9 (patch) | |
| tree | 8821e53e6c339fca0b3fc58e34fc702a0866d087 /src/test/codegen/asm-options.rs | |
| parent | b3a55371a72f665f5d9476d07980e76d3e755fe6 (diff) | |
| download | rust-44a3a66ee890545a2c1ac78ff8f107fe5e7204f9.tar.gz rust-44a3a66ee890545a2c1ac78ff8f107fe5e7204f9.zip | |
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 'src/test/codegen/asm-options.rs')
| -rw-r--r-- | src/test/codegen/asm-options.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/codegen/asm-options.rs b/src/test/codegen/asm-options.rs index 28df0f9b852..963b60cfe35 100644 --- a/src/test/codegen/asm-options.rs +++ b/src/test/codegen/asm-options.rs @@ -2,7 +2,8 @@ // only-x86_64 #![crate_type = "rlib"] -#![feature(asm)] + +use std::arch::asm; // CHECK-LABEL: @pure // CHECK-NOT: asm |
