You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tool/gocross
David Anderson df3996cae3 tool/gocross: bootstrap correctly on an older toolchain
Sometimes, our cached toolchain ends up being an older version of
Go, older than our go.mod allows. In that scenario, gocross-wrapper.sh
would find a usable toolchain, but then fail to compile gocross.

This change makes the wrapper script check that the cached toolchain's
minor version is good enough to build tailscale.com, and re-bootstraps
in shell if not.

Signed-off-by: David Anderson <danderson@tailscale.com>
1 year ago
..
autoflags.go tool/gocross: a tool for building Tailscale binaries 1 year ago
autoflags_test.go tool/gocross: a tool for building Tailscale binaries 1 year ago
env.go tool/gocross: a tool for building Tailscale binaries 1 year ago
env_test.go tool/gocross: a tool for building Tailscale binaries 1 year ago
exec_other.go tool/gocross: a tool for building Tailscale binaries 1 year ago
exec_unix.go tool/gocross: a tool for building Tailscale binaries 1 year ago
gocross-wrapper.sh tool/gocross: bootstrap correctly on an older toolchain 1 year ago
gocross.go tool/gocross: embed the version explicitly with linker flags 1 year ago
goroot.go tool/gocross: a tool for building Tailscale binaries 1 year ago
toolchain.go tool/gocross: support local toolchain for development 1 year ago