runtimes

package
v0.1.73 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package runtimes builds the interpreted runtimes' modules outside the C++ build, for a command line that must run a script mod as the host does but has no host package at hand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuickJS

func QuickJS(ctx context.Context) (string, error)

QuickJS returns quickjs.wasm compiled from this Modlock's runtime source with the zig on PATH, building it into the user cache the first time for each runtime source. The C++ build compiles the module the host ships with wasi-sdk instead; both compile the same sources with the same flags, so a mod runs the same on either.

Types

This section is empty.

Jump to

Keyboard shortcuts

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