This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

Radar · Go · Archive · Week 37 · Sep 7 – 13, 2026

cmd/cgo: arrange to pass unmodified Go source files to compiler, go/types

Worth knowingcompiler

What changed
The analysis logic for cgo has been extracted into an internal package that can be reused by cmd/compile and go/types without rewriting source files.
Production impact
The source does not say.
Try it
Build a cgo package with go build and note any changes in error messages or diagnostics.
Source
github.com/golang/go/issues/16623

Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed