From d90d7be8a8f167c3e39292da36f18af1f311b2cf Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sun, 28 Oct 2018 19:23:31 +0100 Subject: [PATCH] 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. --- src/runtime/runtime.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go index 59af0729c..209bbf880 100644 --- a/src/runtime/runtime.go +++ b/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 +}