We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c8406c commit 84eaddbCopy full SHA for 84eaddb
core/os/os_wasi.odin
@@ -239,3 +239,12 @@ exit :: proc "contextless" (code: int) -> ! {
239
runtime._cleanup_runtime_contextless()
240
wasi.proc_exit(wasi.exitcode_t(code))
241
}
242
+
243
+lookup_env :: proc(key: string, allocator := context.allocator) -> (value: string, found: bool) {
244
+ return "", false
245
+}
246
247
+get_env :: proc(key: string, allocator := context.allocator) -> string {
248
+ value, _ := lookup_env(key, allocator)
249
+ return value
250
0 commit comments