mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-08 10:06:55 +02:00
all: adjust build tags for wasip1/wasm
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
1f25eac395
commit
6e755e132a
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
//go:build !windows && !linux && !js
|
//go:build !windows && !linux && !wasm
|
||||||
|
|
||||||
/* SPDX-License-Identifier: MIT
|
/* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
package ipc
|
package ipc
|
||||||
|
|
||||||
// Made up sentinel error codes for the js/wasm platform.
|
// Made up sentinel error codes for {js,wasip1}/wasm.
|
||||||
const (
|
const (
|
||||||
IpcErrorIO = 1
|
IpcErrorIO = 1
|
||||||
IpcErrorInvalid = 2
|
IpcErrorInvalid = 2
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build !windows && !js
|
//go:build !windows && !wasm
|
||||||
|
|
||||||
/* SPDX-License-Identifier: MIT
|
/* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build windows || js
|
//go:build windows || wasm
|
||||||
|
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue