mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
test: Improve Windows module test coverage.
There's not really any point in targeting *-windows-(gnu,msvc) when not linking libc, so add entries for *-windows-(gnu,msvc) that actually link libc, and change the old non-libc entries to *-windows-none. Also add missing aarch64-windows-(none,msvc) and thumb-windows-(none,msvc) entries. thumb-windows-gnu is disabled for now due to #24016.
This commit is contained in:
parent
358ee859ba
commit
3d2b0a53fe
@ -1179,6 +1179,13 @@ const test_targets = blk: {
|
|||||||
|
|
||||||
// Windows Targets
|
// Windows Targets
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .aarch64,
|
||||||
|
.os_tag = .windows,
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
},
|
||||||
.{
|
.{
|
||||||
.target = .{
|
.target = .{
|
||||||
.cpu_arch = .aarch64,
|
.cpu_arch = .aarch64,
|
||||||
@ -1187,7 +1194,22 @@ const test_targets = blk: {
|
|||||||
},
|
},
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
},
|
},
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .aarch64,
|
||||||
|
.os_tag = .windows,
|
||||||
|
.abi = .msvc,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .x86,
|
||||||
|
.os_tag = .windows,
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
},
|
||||||
.{
|
.{
|
||||||
.target = .{
|
.target = .{
|
||||||
.cpu_arch = .x86,
|
.cpu_arch = .x86,
|
||||||
@ -1202,17 +1224,50 @@ const test_targets = blk: {
|
|||||||
.os_tag = .windows,
|
.os_tag = .windows,
|
||||||
.abi = .msvc,
|
.abi = .msvc,
|
||||||
},
|
},
|
||||||
|
.link_libc = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .thumb,
|
||||||
|
.os_tag = .windows,
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
// https://github.com/ziglang/zig/issues/24016
|
||||||
|
// .{
|
||||||
|
// .target = .{
|
||||||
|
// .cpu_arch = .thumb,
|
||||||
|
// .os_tag = .windows,
|
||||||
|
// .abi = .gnu,
|
||||||
|
// },
|
||||||
|
// .link_libc = true,
|
||||||
|
// },
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .thumb,
|
||||||
|
.os_tag = .windows,
|
||||||
|
.abi = .msvc,
|
||||||
|
},
|
||||||
|
.link_libc = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
.{
|
.{
|
||||||
.target = .{
|
.target = .{
|
||||||
.cpu_arch = .x86_64,
|
.cpu_arch = .x86_64,
|
||||||
.os_tag = .windows,
|
.os_tag = .windows,
|
||||||
.abi = .gnu,
|
.abi = .none,
|
||||||
},
|
},
|
||||||
.use_llvm = false,
|
.use_llvm = false,
|
||||||
.use_lld = false,
|
.use_lld = false,
|
||||||
},
|
},
|
||||||
|
.{
|
||||||
|
.target = .{
|
||||||
|
.cpu_arch = .x86_64,
|
||||||
|
.os_tag = .windows,
|
||||||
|
.abi = .none,
|
||||||
|
},
|
||||||
|
},
|
||||||
.{
|
.{
|
||||||
.target = .{
|
.target = .{
|
||||||
.cpu_arch = .x86_64,
|
.cpu_arch = .x86_64,
|
||||||
@ -1227,6 +1282,7 @@ const test_targets = blk: {
|
|||||||
.os_tag = .windows,
|
.os_tag = .windows,
|
||||||
.abi = .msvc,
|
.abi = .msvc,
|
||||||
},
|
},
|
||||||
|
.link_libc = true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user