mirror of https://github.com/tailscale/tailscale/
all: adjust some build tags for plan9
I'm not saying it works, but it compiles. Updates #5794 Change-Id: I2f3c99732e67fe57a05edb25b758d083417f083e Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>pull/9019/head
parent
de9ba1c621
commit
98a5116434
@ -0,0 +1,12 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build go1.21 && !plan9
|
||||
|
||||
package main
|
||||
|
||||
import "syscall"
|
||||
|
||||
func init() {
|
||||
sigPipe = syscall.SIGPIPE
|
||||
}
|
||||
@ -1,6 +1,8 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build wasm || plan9
|
||||
|
||||
package filch
|
||||
|
||||
import (
|
||||
@ -0,0 +1,17 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
package tstun
|
||||
|
||||
import (
|
||||
"github.com/tailscale/wireguard-go/tun"
|
||||
"tailscale.com/types/logger"
|
||||
)
|
||||
|
||||
func New(logf logger.Logf, tunName string) (tun.Device, string, error) {
|
||||
panic("not implemented")
|
||||
}
|
||||
|
||||
func Diagnose(logf logger.Logf, tunName string, err error) {
|
||||
panic("not implemented")
|
||||
}
|
||||
@ -1,8 +1,7 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build js || wasm
|
||||
// +build js wasm
|
||||
//go:build wasm || plan9
|
||||
|
||||
package magicsock
|
||||
|
||||
Loading…
Reference in New Issue