precompile

command
v0.0.0-...-2f8f294 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2025 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Overview

Program precompile updates pre-built standard library packages for the playground.

This script performs the following sequence of steps:

  • Enumerate all standard packages that should be available in the playground.
  • Precompile them, including transitive dependencies.
  • Delete all old precompiled archive.
  • Write all new precompiled archive in their place.

This will use the same GopherJS version as specified in the playground gm.mod to ensure consistency. The script uses GopherJS compiler API directly, so it doesn't require the GopherJS tool to be installed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL