tailscale/tool/gocross
James Tucker 87f00d76c4 tool/gocross: treat empty GOOS/GOARCH as native GOOS/GOARCH
Tracking down the side effect can otherwise be a pain, for example on
Darwin an empty GOOS resulted in CGO being implicitly disabled. The user
intended for `export GOOS=` to act like unset, and while this is a
misunderstanding, the main toolchain would treat it this way.

Fixes tailscale/corp#20059

Signed-off-by: James Tucker <james@tailscale.com>
2024-05-16 11:23:31 -07:00
..
autoflags.go tool/gocross: treat empty GOOS/GOARCH as native GOOS/GOARCH 2024-05-16 11:23:31 -07:00
autoflags_test.go tool/gocross: treat empty GOOS/GOARCH as native GOOS/GOARCH 2024-05-16 11:23:31 -07:00
env.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
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 ci: report test coverage to coveralls.io 2023-11-21 09:08:37 -06:00
gocross.go various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
goroot.go all: cleanup unused code, part 1 (#10661) 2023-12-20 14:50:30 -08:00
toolchain.go tool/gocross: support running from outside the repo dir 2023-03-20 15:01:58 -07:00