summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2025-07-24 12:57:12 -0700
committerJosh Stone <jistone@redhat.com>2025-07-24 12:57:12 -0700
commit156e2a61ddc90d23f49ee1e175a5f8f566c96ca3 (patch)
treeda3488c994674fb8f6b64dc2ab210749c38a0698 /tests
parent2e832047c6bf348ba44fd57b21bada846d62f156 (diff)
downloadrust-156e2a61ddc90d23f49ee1e175a5f8f566c96ca3.tar.gz
rust-156e2a61ddc90d23f49ee1e175a5f8f566c96ca3.zip
Update another test for rustc_align
Diffstat (limited to 'tests')
-rw-r--r--tests/assembly/naked-functions/wasm32.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/assembly/naked-functions/wasm32.rs b/tests/assembly/naked-functions/wasm32.rs
index 5f114246ad5..66f746613a6 100644
--- a/tests/assembly/naked-functions/wasm32.rs
+++ b/tests/assembly/naked-functions/wasm32.rs
@@ -9,6 +9,8 @@
 //@ [wasm32-wasip1] needs-llvm-components: webassembly
 
 #![crate_type = "lib"]
+// FIXME(#82232, #143834): temporarily renamed to mitigate `#[align]` nameres ambiguity
+#![feature(rustc_attrs)]
 #![feature(no_core, asm_experimental_arch, f128, linkage, fn_align)]
 #![no_core]
 
@@ -37,7 +39,7 @@ extern "C" fn nop() {
 #[unsafe(naked)]
 #[linkage = "weak"]
 // wasm functions cannot be aligned, so this has no effect
-#[align(32)]
+#[rustc_align(32)]
 extern "C" fn weak_aligned_nop() {
     naked_asm!("nop")
 }