tailscale/tool/gocross
James Tucker 538c2e8f7c tool/gocross: add debug data to CGO builds
We don't build a lot of tools with CGO, but we do build some, and it's
extremely valuable for production services in particular to have symbols
included - for perf and so on.

I tested various other builds that could be affected negatively, in
particular macOS/iOS, but those use split-dwarf already as part of their
build path, and Android which does not currently use gocross.

One binary which is normally 120mb only grew to 123mb, so the trade-off
is definitely worthwhile in context.

Updates tailscale/corp#20296

Signed-off-by: James Tucker <james@tailscale.com>
2024-05-22 20:47:28 -07:00
..
autoflags.go tool/gocross: add debug data to CGO builds 2024-05-22 20:47:28 -07:00
autoflags_test.go tool/gocross: add debug data to CGO builds 2024-05-22 20:47:28 -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