mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
Add os.LookupEnv() stub
os.Getenv() was already stubbed out, but os.LookupEnv() wasn't. This will allow me to compile my program unmodified without using separate files and build tags.
This commit is contained in:
@@ -3,3 +3,7 @@ package os
|
||||
func Getenv(key string) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func LookupEnv(key string) (string, bool) {
|
||||
return "", false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user