blob: 53158d8436f133502dbd2cfae08abbd9ca2af357 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#+build js wasm32, js wasm64p32
#+private
package os
// None of this does anything on js/wasm.
// It's only here so importing `core:os` on wasm panics cleanly,
// without spamming about all sorts of missing procs and types.
import "base:runtime"
_temp_dir :: proc(allocator: runtime.Allocator) -> (string, runtime.Allocator_Error) {
return "", .Mode_Not_Implemented
}
|