mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-25 20:23:43 +00:00
ipn/ipnlocal: move last unconditional gvisor import, complete ts_omit_netstack support
Fixes #17283 Change-Id: Ia84d269683e4a68d7d10562561204934eeaf53bb Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
eaecc0be54
commit
87ee0f4e98
@@ -7,7 +7,7 @@
|
||||
|
||||
package buildfeatures
|
||||
|
||||
// HasNetstack is whether the binary was built with support for modular feature "gVisor netstack (userspace networking) support (TODO; not yet omittable)".
|
||||
// HasNetstack is whether the binary was built with support for modular feature "gVisor netstack (userspace networking) support".
|
||||
// Specifically, it's whether the binary was NOT built with the "ts_omit_netstack" build tag.
|
||||
// It's a const so it can be used for dead code elimination.
|
||||
const HasNetstack = true
|
||||
|
||||
Reference in New Issue
Block a user