Skip to Content
marmot

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

Run 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

marmot install-std --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

On this page

Was this page helpful?

Report an issueOpen issues