diff options
Diffstat (limited to 'core/os/env_js.odin')
| -rw-r--r-- | core/os/env_js.odin | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/os/env_js.odin b/core/os/env_js.odin index 644af61bd..55ffce593 100644 --- a/core/os/env_js.odin +++ b/core/os/env_js.odin @@ -2,16 +2,16 @@ #+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" build_env :: proc() -> (err: Error) { return } -// delete_string_if_not_original :: proc(str: string) { - -// } - @(require_results) _lookup_env_alloc :: proc(key: string, allocator: runtime.Allocator) -> (value: string, found: bool) { return @@ -39,4 +39,4 @@ _clear_env :: proc() { @(require_results) _environ :: proc(allocator: runtime.Allocator) -> (environ: []string, err: Error) { return {}, .Unsupported -} +}
\ No newline at end of file |