Skip to main content

Module builder

Module builder 

Source
Expand description

Building carts: run cargo build --target wasm32-unknown-unknown on a project, in the background, and report the result to the console.

The same command works from a normal terminal — Pixel8 projects are plain Cargo crates, so the external-editor workflow is just “run cargo yourself” (or pixel8 build <dir>).

Structs§

BuildJob
A build running in a background thread.
BuildResult

Functions§

run_build
Run a release wasm build of the project directory synchronously. Used by the headless pixel8 build/export subcommands.
spawn_build
Kick off a release wasm build of the project directory in a background thread.