mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
wasm: uses main instead of main2 for test runner
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
parent
48f9e491cb
commit
3c6c4f88bb
@ -11,7 +11,7 @@ var log_err_count: usize = 0;
|
||||
|
||||
pub fn main() void {
|
||||
if (builtin.zig_backend != .stage1 and
|
||||
(builtin.zig_backend != .stage2_llvm or builtin.cpu.arch == .wasm32) and
|
||||
builtin.zig_backend != .stage2_llvm and
|
||||
builtin.zig_backend != .stage2_c)
|
||||
{
|
||||
return main2() catch @panic("test failure");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user