mirror of
https://github.com/golang/go
synced 2024-09-30 06:14:31 -06:00
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>
This commit is contained in:
parent
eab78849fc
commit
deaec39323
@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build (js && wasm) || plan9
|
||||
|
||||
package mmap
|
||||
|
||||
import (
|
Loading…
Reference in New Issue
Block a user