mirror of https://github.com/tailscale/tailscale/
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>pull/7448/head
parent
97b6d3e917
commit
df3996cae3
Loading…
Reference in New Issue