Skip to content

Commit

Permalink
Disable x86-windows tests due to Zig miscompilation
Browse files Browse the repository at this point in the history
The 32-bit Windows target currently has a miscompilation which was causing these tests to fail: ziglang/zig#20047
  • Loading branch information
squeek502 committed Jul 29, 2024
1 parent e4afe26 commit eeea262
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ const ci_targets = switch (builtin.target.cpu.arch) {
},
.windows => [_]TestTarget{
TestTarget{ .query = .{ .cpu_arch = .x86_64, .abi = .gnu }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
// Disabled due to https://github.com/ziglang/zig/issues/20047
// TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
},
.macos => [_]TestTarget{
TestTarget{ .query = .{ .cpu_arch = .x86_64 }, .bundled = true },
Expand All @@ -61,13 +62,15 @@ const all_test_targets = switch (builtin.target.cpu.arch) {
TestTarget{ .query = .{ .cpu_arch = .riscv64, .abi = .musl }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .mips, .abi = .musl }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86_64, .os_tag = .windows }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86, .os_tag = .windows }, .bundled = true },
// Disabled due to https://github.com/ziglang/zig/issues/20047
// TestTarget{ .query = .{ .cpu_arch = .x86, .os_tag = .windows }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86_64, .os_tag = .macos }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .aarch64, .os_tag = .macos }, .bundled = true },
},
.windows => [_]TestTarget{
TestTarget{ .query = .{ .cpu_arch = .x86_64, .abi = .gnu }, .bundled = true },
TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
// Disabled due to https://github.com/ziglang/zig/issues/20047
// TestTarget{ .query = .{ .cpu_arch = .x86, .abi = .gnu }, .bundled = true },
},
.freebsd => [_]TestTarget{
TestTarget{ .query = .{}, .bundled = false },
Expand Down

0 comments on commit eeea262

Please sign in to comment.