runtimes

package
v0.1.129 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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