wasm: uses main instead of main2 for test runner

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda 2023-01-26 20:13:07 +09:00 committed by Luuk de Gram
parent 48f9e491cb
commit 3c6c4f88bb

View File

@ -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");