aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-10-28 13:51:39 -0400
committerRuss Cox <rsc@golang.org>2021-10-28 22:38:00 +0000
commitaf05d8be3d9dd566b2ce3ff5344258314f128ff6 (patch)
treeb78a3f001064d25e280bb6586f982d4319a3898a /src/syscall
parentd0751b1ad8d7a68586dc7567cee44e0ce323f26f (diff)
downloadgo-af05d8be3d9dd566b2ce3ff5344258314f128ff6.tar.gz
go-af05d8be3d9dd566b2ce3ff5344258314f128ff6.zip
all: manual fixups for //go:build vs // +build
Update many generators, also handle files that were not part of the standard build during 'go fix' in CL 344955. Fixes #41184. Change-Id: I1edc684e8101882dcd11f75c6745c266fccfe9e7 Reviewed-on: https://go-review.googlesource.com/c/go/+/359476 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/js/export_test.go1
-rw-r--r--src/syscall/js/func.go1
-rw-r--r--src/syscall/js/js.go1
-rw-r--r--src/syscall/js/js_test.go1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/syscall/js/export_test.go b/src/syscall/js/export_test.go
index 4bd9c5d595..fb61daea7c 100644
--- a/src/syscall/js/export_test.go
+++ b/src/syscall/js/export_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
package js
diff --git a/src/syscall/js/func.go b/src/syscall/js/func.go
index dde1e68100..77fb9e66ca 100644
--- a/src/syscall/js/func.go
+++ b/src/syscall/js/func.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
package js
diff --git a/src/syscall/js/js.go b/src/syscall/js/js.go
index 0da0ddfa0f..d80d5d63de 100644
--- a/src/syscall/js/js.go
+++ b/src/syscall/js/js.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
// Package js gives access to the WebAssembly host environment when using the js/wasm architecture.
// Its API is based on JavaScript semantics.
diff --git a/src/syscall/js/js_test.go b/src/syscall/js/js_test.go
index 8088a897f6..fa8c782459 100644
--- a/src/syscall/js/js_test.go
+++ b/src/syscall/js/js_test.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build js && wasm
-// +build js,wasm
// To run these tests:
//