mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 21:13:39 +00:00
os: implement and smoketest os.Unsetenv
This commit is contained in:
@@ -72,6 +72,11 @@ func Setenv(key, val string) (err error) {
|
||||
return ENOSYS
|
||||
}
|
||||
|
||||
func Unsetenv(key 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