Fix -target:js_wasm32 for core:runtime
This commit is contained in:
1 parent
9491c13a5c
commit
16eaa17ed9
6 files changed
+90
-67
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user