mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
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:
@@ -101,3 +101,8 @@ func now() (sec int64, nsec int32, mono int64) {
|
|||||||
func os_sigpipe() {
|
func os_sigpipe() {
|
||||||
runtimePanic("too many writes on closed pipe")
|
runtimePanic("too many writes on closed pipe")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//go:linkname syscall_runtime_envs syscall.runtime_envs
|
||||||
|
func syscall_runtime_envs() []string {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user