| author | |
| committer | |
| log | 84682eb8626ae44e1098df8147e460c96242f703 |
| tree | dcd254466108bbb1e2b83f3e2788ef44d45dbe0f |
| parent | 6fb677c4f64920d0a6d0133f1ccd6f36564f4159 |
1 files changed, 3 insertions(+), 0 deletions(-)
std/os.zig+3| ... | @@ -245,6 +245,9 @@ pub fn exit(status: u8) noreturn { | ... | @@ -245,6 +245,9 @@ pub fn exit(status: u8) noreturn { |
| 245 | Os.windows => { | 245 | Os.windows => { |
| 246 | windows.ExitProcess(status); | 246 | windows.ExitProcess(status); |
| 247 | }, | 247 | }, |
| 248 | Os.wasi => { | ||
| 249 | wasi.proc_exit(status); | ||
| 250 | }, | ||
| 248 | else => @compileError("Unsupported OS"), | 251 | else => @compileError("Unsupported OS"), |
| 249 | } | 252 | } |
| 250 | } | 253 | } |