aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/syscall/env_wasip2.go
blob: 970400d64402dce0605ebc2cab228a8c0809e230 (plain)
1
2
3
4
5
6
7
8
9
10
11
//go:build wasip2

package syscall

func Environ() []string {
	var env []string
	for k, v := range libc_envs {
		env = append(env, k+"="+v)
	}
	return env
}