Fix macOS

This commit is contained in:
Jeroen van Rijn
2025-06-16 20:22:15 +02:00
parent 6347c87b5b
commit 73dcc39d98

View File

@@ -37,7 +37,7 @@ _lookup_env_buf :: proc(buf: []u8, key: string) -> (value: string, error: Error)
copy(buf, key)
}
cval := posix.getenv(ckey)
cval := posix.getenv(cstring(raw_data(buf)))
if cval == nil {
return
}