Fix -target:js_wasm32 for core:runtime

This commit is contained in:
gingerBill
2021-06-08 11:20:39 +01:00
parent 9491c13a5c
commit 16eaa17ed9
6 changed files with 90 additions and 67 deletions
+3 -2
View File
@@ -35,8 +35,9 @@ open :: proc(path: string, mode: int = O_RDONLY, perm: int = 0) -> (Handle, Errn
close :: proc(fd: Handle) -> Errno {
return 0;
}
seek :: proc(fd: Handle, offset: i64, whence: int) -> (i64, Errno) {
return 0, 0;
}
current_thread_id :: proc "contextless" () -> int {
return 0;
}