diff options
Diffstat (limited to 'src/syscall')
-rw-r--r-- | src/syscall/env_unix.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syscall/env_unix.go b/src/syscall/env_unix.go index ad354ed05..01ac38af1 100644 --- a/src/syscall/env_unix.go +++ b/src/syscall/env_unix.go @@ -22,9 +22,11 @@ var ( // envs is provided by the runtime. elements are expected to be // of the form "key=value". - envs []string + envs []string = runtime_envs() ) +func runtime_envs() []string // in package runtime + // setenv_c is provided by the runtime, but is a no-op if cgo isn't // loaded. func setenv_c(k, v string) |