Skip to content

Commit 5932b2f

Browse files
tests/assembly: make windows ABI test cross-compile
1 parent 43ca9d1 commit 5932b2f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/assembly/x86_64-windows-float-abi.rs

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
//@ assembly-output: emit-asm
2-
//@ compile-flags: -O
3-
//@ only-windows
4-
//@ only-x86_64
2+
//@ compile-flags: -Copt-level=3
3+
//@ compile-flags: --target x86_64-pc-windows-msvc
4+
//@ needs-llvm-components: x86
5+
//@ add-core-stubs
56

67
#![feature(f16, f128)]
8+
#![feature(no_core)]
9+
#![no_core]
710
#![crate_type = "lib"]
811

12+
extern crate minicore;
13+
use minicore::*;
14+
915
// CHECK-LABEL: second_f16
1016
// CHECK: movaps %xmm1, %xmm0
1117
// CHECK-NEXT: retq

0 commit comments

Comments
 (0)