Add unimplemented and unreachable procedures; make os.exit a diverging procedure

This commit is contained in:
gingerBill
2018-10-13 13:19:52 +01:00
parent 73e9dbbf8c
commit 42b42db675
5 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ heap_free :: proc(ptr: rawptr) {
}
exit :: proc(code: int) {
exit :: proc(code: int) -> ! {
win32.exit_process(u32(code));
}