buildgolang.org/x/build/cmd/genbootstrap

genbootstrap command

Genbootstrap prepares GOROOT_BOOTSTRAP tarballs suitable for use on builders. It's a wrapper around bootstrap.bash. After bootstrap.bash produces the full output, genbootstrap trims it up, removing unnecessary and unwanted files.

Usage:

genbootstrap [-upload] [-rev=rev] [-v] GOOS-GOARCH[-suffix]...

The argument list can be a single glob pattern (for example '*'), which expands to all known targets matching that pattern.

Deprecated: As of Go 1.21.0, genbootstrap is superseded by make.bash -distpack and doesn't need to be used anymore. The one exception are GOOS=windows targets, since their go.dev/dl downloads are in .zip format but the builders in x/build support pushing .tar.gz format only.

Version
v0.0.0-20250421191922-3619c213cff3 (latest)
Published
Apr 21, 2025
Platform
linux/amd64
Imports
17 packages
Last checked
3 months ago

Tools for package owners.