Andrew Lytvynov a9b3e09a1f
tool/gocross: break circular dependency on tailcfg (#15829)
Instead of using the version package (which depends on
tailcfg.CurrentCapabilityVersion) to get the git commit hash, do it
directly using debug.BuildInfo. This way, when changing struct fields in
tailcfg, we can successfully `go generate` it without compiler errors.

Updates #9634
Updates https://github.com/tailscale/corp/issues/26717

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2025-04-29 17:35:47 -07:00
..
2023-10-30 18:20:33 +00:00
2023-10-30 18:20:33 +00:00
2022-07-22 11:36:49 -07:00