| Crates.io | workspace_runner |
| lib.rs | workspace_runner |
| version | 0.1.0 |
| created_at | 2025-03-27 18:25:44.312211+00 |
| updated_at | 2025-03-27 18:25:44.312211+00 |
| description | A cargo runner that ensures your workspace is available when run in wasmtime |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1608293 |
| size | 8,720 |
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.