mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Remove GOROOT env var section; InstallTroubleshooting page covers this topic already, and this page assumes a working Go 1.11 install.
parent
811bdc16fe
commit
9e5a0ce6b5
@ -6,15 +6,6 @@ WebAssembly is described on its [home page](https://webassembly.org) as:
|
|||||||
|
|
||||||
This page will be updated over time with more information relevant to Go's support for WebAssembly.
|
This page will be updated over time with more information relevant to Go's support for WebAssembly.
|
||||||
|
|
||||||
# Prerequisite
|
|
||||||
|
|
||||||
Note, if you ever set the `GOROOT` environment variable to an old Go SDK path, please remove this environment variable. This environment variable is not needed any more. Otherwise, the `go build` command below will report error:
|
|
||||||
|
|
||||||
```
|
|
||||||
go tool compile: exit status 2
|
|
||||||
compile: unknown architecture "wasm"
|
|
||||||
```
|
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
||||||
To compile a basic Go package for the web:
|
To compile a basic Go package for the web:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user