all: adjust build tags for plan9
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
88b11b4a0d
commit
6cd5922a04
6 changed files with 26 additions and 5 deletions
17
ipc/uapi_fake.go
Normal file
17
ipc/uapi_fake.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
//go:build wasm || plan9
|
||||
|
||||
/* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
|
||||
*/
|
||||
|
||||
package ipc
|
||||
|
||||
// Made up sentinel error codes for {js,wasip1}/wasm, and plan9.
|
||||
const (
|
||||
IpcErrorIO = 1
|
||||
IpcErrorInvalid = 2
|
||||
IpcErrorPortInUse = 3
|
||||
IpcErrorUnknown = 4
|
||||
IpcErrorProtocol = 5
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue