mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-10 09:45:08 +00:00

Commit 59c254579e
moved a lot of work
from functions that could be eliminated at compile time (because
tests against runtime.GOOS are compile-time constant), into code
that must always run before main().
So, revert that, and instead optimize the package only by moving the
remaining string processing code behind sync.Onces.
Signed-off-by: David Anderson <danderson@tailscale.com>