Skip to main content

build_workspace

Function build_workspace 

Source
fn build_workspace() -> Result<(), String>
Expand description

Build every wasm target in the workspace, not just the test binaries.

The test binaries above are built with --all-features, which the example cannot take on this target: its snapshot feature reaches the harness’s readback and WebP scoring, which are native-only. So the workspace is built here under the default features, which is what the browser example and the Android library actually ship — and is what proves a change has not broken them for wasm at all.