marmot install-std
Compile the standard library once, for fast first builds.
Compile every standard library package in dev mode and optimize it at -O 2 (tier 1) into the build cache. The first dev build of any program then links the optimized standard library instead of compiling it. Run it once after you install or upgrade marmot, and once per cross target. Later builds keep it warm in the cache.
marmot install-std [-target GOOS/GOARCH] [flags]Examples
marmot install-std
marmot install-std -target linux/arm64Run marmot install-std once after you install or upgrade marmot. The first dev build of a program
then links the standard library optimized at -O 2 from the build cache. Run it once for each cross
target with -target.
Full help
Compile every standard library package in dev mode and optimize it at -O 2 (tier 1) into the build cache. The first dev build of any program then links the optimized standard library instead of compiling it. Run it once after you install or upgrade marmot, and once per cross target. Later builds keep it warm in the cache.
Usage:
marmot install-std [-target GOOS/GOARCH] [flags]
Examples:
marmot install-std
marmot install-std -target linux/arm64
Flags:
-h, --help help for install-std