aboutsummaryrefslogtreecommitdiff
path: root/core/os/process_js.odin
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/process_js.odin')
-rw-r--r--core/os/process_js.odin4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/os/process_js.odin b/core/os/process_js.odin
index 6283d270c..9b682da0c 100644
--- a/core/os/process_js.odin
+++ b/core/os/process_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:runtime"
import "core:time"