aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/runtime.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2018-10-28 19:23:31 +0100
committerAyke van Laethem <[email protected]>2018-10-28 19:25:55 +0100
commitd90d7be8a8f167c3e39292da36f18af1f311b2cf (patch)
tree56792e4edbb85d24b9e338a6aad8b90b9d080a9e /src/runtime/runtime.go
parenta3d87456cdf00fe46be5c51d39cf19bf6ae0e781 (diff)
downloadtinygo-d90d7be8a8f167c3e39292da36f18af1f311b2cf.tar.gz
tinygo-d90d7be8a8f167c3e39292da36f18af1f311b2cf.zip
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.
Diffstat (limited to 'src/runtime/runtime.go')
-rw-r--r--src/runtime/runtime.go5
1 files changed, 5 insertions, 0 deletions
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
+}