tailscale/tool/gocross
David Anderson 66621ab38e tool/gocross: embed the version explicitly with linker flags
We need to build gocross from multiple repos, but Go's innate
git hash embedding only works when you build gocross from this repo,
not when you build it from elsewhere via 'go build
tailscale.com/tool/gocross'. Instead, explicitly embed the version
found with 'git rev-parse HEAD', which will work from any git repo.

Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-24 03:11:29 +00:00
..
autoflags_test.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
autoflags.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
env_test.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
env.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
exec_other.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
exec_unix.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
gocross-wrapper.sh tool/gocross: do all the bootstrap steps in a subshell 2023-02-24 03:11:29 +00:00
gocross.go tool/gocross: embed the version explicitly with linker flags 2023-02-24 03:11:29 +00:00
goroot.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00
toolchain.go tool/gocross: a tool for building Tailscale binaries 2023-02-22 17:55:16 +00:00