workspace_runner

Crates.ioworkspace_runner
lib.rsworkspace_runner
version0.1.0
created_at2025-03-27 18:25:44.312211+00
updated_at2025-03-27 18:25:44.312211+00
descriptionA cargo runner that ensures your workspace is available when run in wasmtime
homepage
repository
max_upload_size
id1608293
size8,720
matt rice (ratmice)

documentation

README

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.

Commit count: 0

cargo fmt