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

master
Andrew Kelley 2020-04-27 18:48:03 -04:00
parent 2bae942800
commit 6e6d0eb690
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}