about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/std_example.rs
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2024-09-11 05:12:24 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2024-09-11 05:12:24 +0000
commit19fa141a6d3a74ad1ca4bd47f906746d65b91daa (patch)
tree3fc432d81bf88c421a989a5e00cc47d0f307c84c /compiler/rustc_codegen_cranelift/example/std_example.rs
parent4712e572558f02a80a4d9702baf417d0513f0881 (diff)
parentd4ac759542ec9789ad5ba9a12abe112e7158ecab (diff)
downloadrust-19fa141a6d3a74ad1ca4bd47f906746d65b91daa.tar.gz
rust-19fa141a6d3a74ad1ca4bd47f906746d65b91daa.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/example/std_example.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/std_example.rs b/compiler/rustc_codegen_cranelift/example/std_example.rs
index e99763e2722..f27d4ef57e0 100644
--- a/compiler/rustc_codegen_cranelift/example/std_example.rs
+++ b/compiler/rustc_codegen_cranelift/example/std_example.rs
@@ -166,7 +166,7 @@ fn main() {
         enum Never {}
     }
 
-    foo(I64X2(0, 0));
+    foo(I64X2([0, 0]));
 
     transmute_fat_pointer();
 
@@ -204,7 +204,7 @@ fn rust_call_abi() {
 }
 
 #[repr(simd)]
-struct I64X2(i64, i64);
+struct I64X2([i64; 2]);
 
 #[allow(improper_ctypes_definitions)]
 extern "C" fn foo(_a: I64X2) {}