diff options
Diffstat (limited to 'core/os/dir_js.odin')
| -rw-r--r-- | core/os/dir_js.odin | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/os/dir_js.odin b/core/os/dir_js.odin index 8c45cf63b..cd6227507 100644 --- a/core/os/dir_js.odin +++ b/core/os/dir_js.odin @@ -2,6 +2,10 @@ #+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:intrinsics" Read_Directory_Iterator_Impl :: struct { @@ -21,4 +25,4 @@ _read_directory_iterator_init :: proc(it: ^Read_Directory_Iterator, f: ^File) { _read_directory_iterator_destroy :: proc(it: ^Read_Directory_Iterator) { -} +}
\ No newline at end of file |