motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 6e6d0eb690fa58572be7ae556723bb5818206955 (tree)
parent 2bae94280058f23ba44dc3857e2b551f5894e1cb
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon, 27 Apr 2020 18:48:03 -0400

disable stage2 zir tests on not-yet-supported OS's

Diffstat:
Mtest/stage2/zir.zig | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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; }