| ... | @@ -2121,8 +2121,11 @@ fn runOrTest( | ... | @@ -2121,8 +2121,11 @@ fn runOrTest( |
| 2121 | if (!watch) return cleanExit(); | 2121 | if (!watch) return cleanExit(); |
| 2122 | return; | 2122 | return; |
| 2123 | }, | 2123 | }, |
| 2124 | .run => fatal("unable to execute {s}: non-native", .{exe_path}), | 2124 | else => { |
| 2125 | else => unreachable, | 2125 | std.log.err("unable to execute {s}: non-native", .{exe_path}); |
| | 2126 | if (!watch) process.exit(1); |
| | 2127 | return; |
| | 2128 | }, |
| 2126 | } | 2129 | } |
| 2127 | } | 2130 | } |
| 2128 | // when testing pass the zig_exe_path to argv | 2131 | // when testing pass the zig_exe_path to argv |