#wasmtime #runner #workspace-runner #wasm32-wasip2

app workspace_runner

A cargo runner that ensures your workspace is available when run in wasmtime

1 unstable release

Uses new Rust 2024

new 0.1.0 Mar 27, 2025

#20 in #runner

44 downloads per month

Apache-2.0/MIT

7KB
86 lines

workspace_runner runs wasmtime with the appropriate --dir flags set so that wasmtime can access your entire workspace via the filesystem.

It also adds --env flags for environment variables set by cargo that specify directories.

You can use this in a .cargo/config.toml such as the following

[target.wasm32-wasip2]
runner = "workspace_runner --target wasm32-wasip2 --"

Currently the only supported target is wasm32-wasip2.

Dependencies

~0.8–1.7MB
~35K SLoC