3 ms·
Package size dropped by 200MB on Arch. What happened?
by kurtoid 4y ago
Package size dropped by 200MB on Arch. What happened?
- philosopher1234 4y agoThey stopped including precompiled shared libs for the stl
- mseepgood 4y agohttps://go.dev/doc/go1.20#go-command https://go.dev/doc/go1.20#go-command "The directory $GOROOT/pkg no longer stores pre-compiled package archives for the standard library: go install no longer writes them, the go build no longer checks for them, and the Go distribution no longer ships them. Instead, packages in the standard library are built as needed and cached in the build cache, just like packages outside GOROOT. This change reduces the size of the Go distribution and also avoids C toolchain skew for packages that use cgo."