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.
This commit is contained in:
Ayke van Laethem
2018-10-28 19:23:31 +01:00
parent a3d87456cd
commit d90d7be8a8
+5
View File
@@ -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
}