Skip to content

Commit 47839e7

Browse files
committed
Unify Windows envs in build.rs
1 parent 0f69bd6 commit 47839e7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

psm/build.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,28 @@ fn find_assembly(
1212
// is not supported in Windows. For x86_64 the implementation actually works locally,
1313
// but failed tests in CI (???). Might want to have a feature for experimental support
1414
// here.
15-
("x86", _, "windows", "msvc") => {
15+
("x86", _, "windows", _) => {
1616
if masm {
1717
Some(("src/arch/x86_msvc.asm", false))
1818
} else {
1919
Some(("src/arch/x86_windows_gnu.s", false))
2020
}
2121
}
22-
("x86_64", _, "windows", "msvc") => {
22+
("x86_64", _, "windows", _) => {
2323
if masm {
2424
Some(("src/arch/x86_64_msvc.asm", false))
2525
} else {
2626
Some(("src/arch/x86_64_windows_gnu.s", false))
2727
}
2828
}
2929
("arm", _, "windows", "msvc") => Some(("src/arch/arm_armasm.asm", false)),
30-
("aarch64", _, "windows", "msvc") => {
30+
("aarch64", _, "windows", _) => {
3131
if masm {
3232
Some(("src/arch/aarch64_armasm.asm", false))
3333
} else {
3434
Some(("src/arch/aarch_aapcs64.s", false))
3535
}
3636
}
37-
("x86", _, "windows", _) => Some(("src/arch/x86_windows_gnu.s", false)),
38-
("x86_64", _, "windows", _) => Some(("src/arch/x86_64_windows_gnu.s", false)),
3937
("x86", _, _, _) => Some(("src/arch/x86.s", true)),
4038
("x86_64", _, _, _) => Some(("src/arch/x86_64.s", true)),
4139
("arm", _, _, _) => Some(("src/arch/arm_aapcs.s", true)),

0 commit comments

Comments
 (0)