mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Put GOOS first, GOARCH second.
parent
b7883c32e8
commit
41508cae13
@ -30,7 +30,7 @@ func main() {
|
|||||||
Run:
|
Run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ GOARCH=wasm GOOS=js go build -o test.wasm main.go
|
$ GOOS=js GOARCH=wasm go build -o test.wasm main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
And copy over the HTML & JS support files:
|
And copy over the HTML & JS support files:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user