mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
adjust build tags for tamago
Signed-off-by: Andrea Barisani <andrea@inversepath.com>
This commit is contained in:
parent
14320290c3
commit
0a74d46568
@ -1,7 +1,7 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build !windows && !wasm && !plan9
|
||||
//go:build !windows && !wasm && !plan9 && !tamago
|
||||
|
||||
package filch
|
||||
|
||||
|
@ -396,7 +396,7 @@ func (s *State) HasPAC() bool { return s != nil && s.PAC != "" }
|
||||
|
||||
// AnyInterfaceUp reports whether any interface seems like it has Internet access.
|
||||
func (s *State) AnyInterfaceUp() bool {
|
||||
if runtime.GOOS == "js" {
|
||||
if runtime.GOOS == "js" || runtime.GOOS == "tamago" {
|
||||
return true
|
||||
}
|
||||
return s != nil && (s.HaveV4 || s.HaveV6)
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build !wasm && !plan9
|
||||
//go:build !wasm && !plan9 && !tamago
|
||||
|
||||
// Package tun creates a tuntap device, working around OS-specific
|
||||
// quirks if necessary.
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build !windows && !wasm && !plan9
|
||||
//go:build !windows && !wasm && !plan9 && !tamago
|
||||
|
||||
package paths
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build windows || wasm || plan9
|
||||
//go:build windows || wasm || plan9 || tamago
|
||||
|
||||
package logger
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build !windows && !wasm && !plan9
|
||||
//go:build !windows && !wasm && !plan9 && !tamago
|
||||
|
||||
package logger
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user