From 82c6967adad6319ac08fca4f3e84066a43083963 Mon Sep 17 00:00:00 2001
From: Michael Matloob
+ The Go distribution no longer ships with pre-compiled .a
+ files for most of the packages in GOROOT
, now only including
+ .a files for the five packages in GOROOT
that use cgo
.
+ Instead, those packages will be built as needed and cached in the build
+ cache, as is already done for non-main
packages outside
+ GOROOT
. Further, go
install
will
+ also not install .a
files for GOROOT
packages
+ except for those that use cgo
. These changes are intended to
+ reduce the size of the Go distribution, in some cases by up to two-thirds.
+
When the main module is located within GOPATH/src
,
go
install
no longer installs libraries for
--
2.50.0