commit 3c6c4f88bbedef9579f16f0454998c9dcd7663da (tree)
parent 48f9e491cb97de54c7e8d395170d8b4c8ea9a62b
Author: Takeshi Yoneda <takeshi@tetrate.io>
Date: Thu, 26 Jan 2023 20:13:07 +0900
wasm: uses main instead of main2 for test runner
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/test_runner.zig b/lib/test_runner.zig
@@ -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");