mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 16:12:33 +00:00
disable stage2 zir tests on not-yet-supported archs
This commit is contained in:
parent
6e6d0eb690
commit
56a024bbfc
@ -1,9 +1,11 @@
|
|||||||
const TestContext = @import("../../src-self-hosted/test.zig").TestContext;
|
const TestContext = @import("../../src-self-hosted/test.zig").TestContext;
|
||||||
|
|
||||||
pub fn addCases(ctx: *TestContext) void {
|
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 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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user