aboutsummaryrefslogtreecommitdiff
path: root/test/stage2
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-04-27 18:48:03 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-05-01 06:47:20 -0400
commit6e6d0eb690fa58572be7ae556723bb5818206955 (patch)
tree0b6fd35e32fa0c982401b2f6da42dc46e3a27630 /test/stage2
parent2bae94280058f23ba44dc3857e2b551f5894e1cb (diff)
downloadzig-6e6d0eb690fa58572be7ae556723bb5818206955.tar.gz
zig-6e6d0eb690fa58572be7ae556723bb5818206955.zip
disable stage2 zir tests on not-yet-supported OS's
Diffstat (limited to 'test/stage2')
-rw-r--r--test/stage2/zir.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/stage2/zir.zig b/test/stage2/zir.zig
index b30c443788..14771134b4 100644
--- a/test/stage2/zir.zig
+++ b/test/stage2/zir.zig
@@ -1,8 +1,9 @@
const TestContext = @import("../../src-self-hosted/test.zig").TestContext;
pub fn addCases(ctx: *TestContext) void {
- if (@import("std").Target.current.os.tag == .windows) {
+ if (@import("std").Target.current.os.tag != .linux) {
// TODO implement self-hosted PE (.exe file) linking
+ // TODO implement more ZIR so we don't depend on linux
return;
}