mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 13:03:39 +00:00
os: implement and smoketest os.Setenv
This commit is contained in:
@@ -67,6 +67,11 @@ func Getenv(key string) (value string, found bool) {
|
||||
return "", false
|
||||
}
|
||||
|
||||
func Setenv(key, val string) (err error) {
|
||||
// stub for now
|
||||
return ENOSYS
|
||||
}
|
||||
|
||||
func Environ() []string {
|
||||
env := runtime_envs()
|
||||
envCopy := make([]string, len(env))
|
||||
|
||||
Reference in New Issue
Block a user