167 wires and counting

$ follow Go

Keep up with Go in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-07-20
stories 2

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

GO TOOLCHAIN BUILD FLAGS GET PRECISION FIX, CGO PROBE ESCAPES WRAPPER TRAP

By RepoJournal · Filed · About Go · Composed from the cited sources · methodology

The go command's cgo compiler version detection was running under -toolexec when it shouldn't have been, breaking builds for anyone wrapping their toolchain.

Go just landed a fix that stops the cgo compiler version probe from executing under the -toolexec wrapper [1]. The -toolexec flag lets developers wrap toolchain programs like compile and link for profiling or substitution, but the version detection probe was getting caught in that wrapper while actual cgo compiles never do, causing the wrapper to see probes instead of real work. This mismatch broke reproducible builds and profiling for anyone using -toolexec with cgo. Separately, the toolchain now accepts the -fexcess-precision compiler flag [2], which was missing from the recognized flags list and causing legitimate compiler options to fail during cgo builds. Both fixes address real friction points in the build system for teams doing advanced compilation workflows.

Quick answers

What shipped in Go on July 20, 2026?
The go command's cgo compiler version detection was running under -toolexec when it shouldn't have been, breaking builds for anyone wrapping their toolchain. In total, 2 commits landed.
Who contributed to Go on July 20, 2026?
2 developers shipped this update, including harjoth and Andreas Bolka.
What were the notable Go updates?
cmd/go: don't run cgo compiler version probe under -toolexec and cmd/go/internal/work: accept -fexcess-precision=<style> compiler flags.