stub out get_env for js

This commit is contained in:
Jeroen van Rijn
2025-06-13 18:00:30 +02:00
parent 3862555153
commit 8c8406cc4d
+5
View File
@@ -252,4 +252,9 @@ current_thread_id :: proc "contextless" () -> int {
lookup_env :: proc(key: string, allocator := context.allocator) -> (value: string, found: bool) {
return "", false
}
get_env :: proc(key: string, allocator := context.allocator) -> string {
value, _ := lookup_env(key, allocator)
return value
}