diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-02-08 18:56:25 -0800 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-08 19:02:01 -0800 |
| commit | 5932b2fe9cd9735749ef3b141f3782edc815f4e6 (patch) | |
| tree | 7ab59dcc33160bc373269b3b3be29353a4ee364c | |
| parent | 43ca9d18e333797f0aa3b525501a7cec8d61a96b (diff) | |
| download | rust-5932b2fe9cd9735749ef3b141f3782edc815f4e6.tar.gz rust-5932b2fe9cd9735749ef3b141f3782edc815f4e6.zip | |
tests/assembly: make windows ABI test cross-compile
| -rw-r--r-- | tests/assembly/x86_64-windows-float-abi.rs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/assembly/x86_64-windows-float-abi.rs b/tests/assembly/x86_64-windows-float-abi.rs index 1381d492fa5..e8900be1aae 100644 --- a/tests/assembly/x86_64-windows-float-abi.rs +++ b/tests/assembly/x86_64-windows-float-abi.rs @@ -1,11 +1,17 @@ //@ assembly-output: emit-asm -//@ compile-flags: -O -//@ only-windows -//@ only-x86_64 +//@ compile-flags: -Copt-level=3 +//@ compile-flags: --target x86_64-pc-windows-msvc +//@ needs-llvm-components: x86 +//@ add-core-stubs #![feature(f16, f128)] +#![feature(no_core)] +#![no_core] #![crate_type = "lib"] +extern crate minicore; +use minicore::*; + // CHECK-LABEL: second_f16 // CHECK: movaps %xmm1, %xmm0 // CHECK-NEXT: retq |
