#golang 1.21's toolchain will be built without CGO (https://go.dev/issue/57007), meaning static binaries which can be cross-compiled easily (https://go.dev/issue/53862).

Not only does this simplify building and using the Go toolchain, but it also enables reproducing its builds with much less fuss (https://go.dev/issue/57120).

Most Go users won't notice, but this will be a big quality of life improvement in the long run!

cmd/dist: build cmd with CGO_ENABLED=0, so cmd/go uses pure Go net resolver · Issue #57007 · golang/go

Now that we've removed the .a files from the distribution, the only possible leakage of the host build environment into Go Linux releases is the dynamic libc.so.6 path embedded in the command binar...

GitHub