mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 16:24:51 +00:00
cases: disable broken backends
Disable backends that don't support the new liveness format.
This commit is contained in:
parent
894406b9d3
commit
a8842b6cbf
@ -390,6 +390,13 @@ fn addFromDirInner(
|
||||
// Cross-product to get all possible test combinations
|
||||
for (backends) |backend| {
|
||||
for (targets) |target| {
|
||||
if (backend == .stage2 and
|
||||
target.getCpuArch() != .wasm32 and target.getCpuArch() != .x86_64)
|
||||
{
|
||||
// Other backends don't support new liveness format
|
||||
continue;
|
||||
}
|
||||
|
||||
const next = ctx.cases.items.len;
|
||||
try ctx.cases.append(.{
|
||||
.name = std.fs.path.stem(filename),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user