Skip to content

Commit 6e755e1

Browse files
bradfitzzx2c4
authored andcommitted
all: adjust build tags for wasip1/wasm
Signed-off-by: Brad Fitzpatrick <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 1f25eac commit 6e755e1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

conn/controlfns_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows && !linux && !js
1+
//go:build !windows && !linux && !wasm
22

33
/* SPDX-License-Identifier: MIT
44
*

ipc/uapi_js.go renamed to ipc/uapi_wasm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
package ipc
77

8-
// Made up sentinel error codes for the js/wasm platform.
8+
// Made up sentinel error codes for {js,wasip1}/wasm.
99
const (
1010
IpcErrorIO = 1
1111
IpcErrorInvalid = 2

rwcancel/rwcancel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows && !js
1+
//go:build !windows && !wasm
22

33
/* SPDX-License-Identifier: MIT
44
*

rwcancel/rwcancel_stub.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build windows || js
1+
//go:build windows || wasm
22

33
// SPDX-License-Identifier: MIT
44

0 commit comments

Comments
 (0)