summaryrefslogtreecommitdiffhomepage
path: root/rwcancel
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2023-06-11 16:10:38 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2023-07-04 15:54:42 +0200
commit6e755e132ac18b44625baae0b7ea7ced572d7ff5 (patch)
tree8c7b9ff39ebad39f9f736ce16c91dfb7a9b071bd /rwcancel
parent1f25eac395d68dcb22c77d0717903e9991de1300 (diff)
all: adjust build tags for wasip1/wasm
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'rwcancel')
-rw-r--r--rwcancel/rwcancel.go2
-rw-r--r--rwcancel/rwcancel_stub.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/rwcancel/rwcancel.go b/rwcancel/rwcancel.go
index 63e1510..e397c0e 100644
--- a/rwcancel/rwcancel.go
+++ b/rwcancel/rwcancel.go
@@ -1,4 +1,4 @@
-//go:build !windows && !js
+//go:build !windows && !wasm
/* SPDX-License-Identifier: MIT
*
diff --git a/rwcancel/rwcancel_stub.go b/rwcancel/rwcancel_stub.go
index 182940b..2a98b2b 100644
--- a/rwcancel/rwcancel_stub.go
+++ b/rwcancel/rwcancel_stub.go
@@ -1,4 +1,4 @@
-//go:build windows || js
+//go:build windows || wasm
// SPDX-License-Identifier: MIT