Browse Source

runtime: implement syscall.runtime_envs

It is stubbed out currently, but may be useful in the future.

Note that this function is implemented for a future change to the init
system, it is not yet useful.
pull/62/head
Ayke van Laethem 6 years ago
parent
commit
d90d7be8a8
No known key found for this signature in database GPG Key ID: E97FF5335DFDFDED
  1. 5
      src/runtime/runtime.go

5
src/runtime/runtime.go

@ -101,3 +101,8 @@ func now() (sec int64, nsec int32, mono int64) {
func os_sigpipe() {
runtimePanic("too many writes on closed pipe")
}
//go:linkname syscall_runtime_envs syscall.runtime_envs
func syscall_runtime_envs() []string {
return nil
}

Loading…
Cancel
Save