Skip to content

Commit

Permalink
all: adjust build tags for wasip1/wasm
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Fitzpatrick <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
  • Loading branch information
bradfitz authored and zx2c4 committed Jul 4, 2023
1 parent 1f25eac commit 6e755e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conn/controlfns_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !windows && !linux && !js
//go:build !windows && !linux && !wasm

/* SPDX-License-Identifier: MIT
*
Expand Down
2 changes: 1 addition & 1 deletion ipc/uapi_js.go → ipc/uapi_wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

package ipc

// Made up sentinel error codes for the js/wasm platform.
// Made up sentinel error codes for {js,wasip1}/wasm.
const (
IpcErrorIO = 1
IpcErrorInvalid = 2
Expand Down
2 changes: 1 addition & 1 deletion rwcancel/rwcancel.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !windows && !js
//go:build !windows && !wasm

/* SPDX-License-Identifier: MIT
*
Expand Down
2 changes: 1 addition & 1 deletion rwcancel/rwcancel_stub.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build windows || js
//go:build windows || wasm

// SPDX-License-Identifier: MIT

Expand Down

0 comments on commit 6e755e1

Please sign in to comment.