diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-04-27 19:12:51 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-05-01 06:47:20 -0400 |
| commit | 56a024bbfcd8419868f51e0fb6cf16451920070d (patch) | |
| tree | 8143167a5141b2f26534c3a6f3be61d6977e702e /test/stage2 | |
| parent | 6e6d0eb690fa58572be7ae556723bb5818206955 (diff) | |
| download | zig-56a024bbfcd8419868f51e0fb6cf16451920070d.tar.gz zig-56a024bbfcd8419868f51e0fb6cf16451920070d.zip | |
disable stage2 zir tests on not-yet-supported archs
Diffstat (limited to 'test/stage2')
| -rw-r--r-- | test/stage2/zir.zig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/stage2/zir.zig b/test/stage2/zir.zig index 14771134b4..d2ea3c01fc 100644 --- a/test/stage2/zir.zig +++ b/test/stage2/zir.zig @@ -1,9 +1,11 @@ const TestContext = @import("../../src-self-hosted/test.zig").TestContext; pub fn addCases(ctx: *TestContext) void { - if (@import("std").Target.current.os.tag != .linux) { + if (@import("std").Target.current.os.tag != .linux or + @import("std").Target.current.cpu.arch != .x86_64) + { // TODO implement self-hosted PE (.exe file) linking - // TODO implement more ZIR so we don't depend on linux + // TODO implement more ZIR so we don't depend on x86_64-linux return; } |
