about summary refs log tree commit diff
path: root/tests/codegen/min-function-alignment.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-06-20 05:38:44 +0000
committerGitHub <noreply@github.com>2025-06-20 05:38:44 +0000
commitc461e5081d3b161d777b0a35ed120ea7b3d61d2a (patch)
tree8e6b9aad9281b473910b44f41d71694a6ee7167c /tests/codegen/min-function-alignment.rs
parent9eee9eeda6bbd6dfed6899cc80f7c971e75a5b55 (diff)
parentfd7fb5efac94712936a78853dc3c3088226fb5b1 (diff)
downloadrust-c461e5081d3b161d777b0a35ed120ea7b3d61d2a.tar.gz
rust-c461e5081d3b161d777b0a35ed120ea7b3d61d2a.zip
Merge pull request #4409 from rust-lang/rustup-2025-06-20
Automatic Rustup
Diffstat (limited to 'tests/codegen/min-function-alignment.rs')
-rw-r--r--tests/codegen/min-function-alignment.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/codegen/min-function-alignment.rs b/tests/codegen/min-function-alignment.rs
index 7c0ad12402a..75f845572a4 100644
--- a/tests/codegen/min-function-alignment.rs
+++ b/tests/codegen/min-function-alignment.rs
@@ -18,16 +18,16 @@ pub fn no_explicit_align() {}
 // align16: align 16
 // align1024: align 1024
 #[no_mangle]
-#[repr(align(8))]
+#[align(8)]
 pub fn lower_align() {}
 
-// the higher value of min-function-alignment and repr(align) wins out
+// the higher value of min-function-alignment and the align attribute wins out
 //
 // CHECK-LABEL: @higher_align
 // align16: align 32
 // align1024: align 1024
 #[no_mangle]
-#[repr(align(32))]
+#[align(32)]
 pub fn higher_align() {}
 
 // cold functions follow the same rules as other functions