]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/mmap: fix build for js/wasm
authorTobias Klauser <tklauser@distanz.ch>
Sun, 25 Sep 2022 18:15:12 +0000 (20:15 +0200)
committerGopher Robot <gobot@golang.org>
Mon, 26 Sep 2022 16:33:32 +0000 (16:33 +0000)
commitdeaec39323aced382a12ed0360fad03ad1dbb906
treecddc9b7053fe74520f5f8cd1e08f8800bb2ecdb0
parenteab78849fc24f890836d00c04b495e64d4fe4187
cmd/go/internal/mmap: fix build for js/wasm

Even though there isn't much point in building cmd/go for js/wasm given
it relies on executing sub-processes, this change is trivial enough and
makes cmd/go build for js/wasm again.

Fixes #54219

Change-Id: I91e3adec0f31a4e261af89b4cc829711828ac2ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/433480
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/go/internal/mmap/mmap_other.go [moved from src/cmd/go/internal/mmap/mmap_plan9.go with 92% similarity]