]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add GOWASM environment variable
authorRichard Musiol <mail@richard-musiol.de>
Sat, 23 Mar 2019 13:18:19 +0000 (14:18 +0100)
committerRichard Musiol <neelance@gmail.com>
Sat, 23 Mar 2019 20:33:57 +0000 (20:33 +0000)
commitb434bbf197b3683643d4d6b52bca687982e336b5
tree2f58d67db593aa97a598b80348cf7a5f0e7abdc2
parent2396101e0590cb7d77556924249c26af0ccd9eff
cmd/go: add GOWASM environment variable

This change adds the environment variable GOWASM, which is a comma
separated list of experimental WebAssembly features that the compiled
WebAssembly binary is allowed to use. The default is to use no
experimental features. Initially there are no features avaiable.

More information about feature proposals can be found at
https://github.com/WebAssembly/proposals

Change-Id: I4c8dc534c99ecff8bb075dded0186ca8f8decaef
Reviewed-on: https://go-review.googlesource.com/c/go/+/168881
Run-TryBot: Richard Musiol <neelance@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/install-source.html
src/cmd/go/internal/cfg/cfg.go
src/cmd/go/internal/envcmd/env.go
src/cmd/internal/objabi/util.go