MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / run

Function run

crates/cli/src/cmd/wast.rs:8–12  ·  view source on GitHub ↗
(args: WastArgs)

Source from the content-addressed store, hash-verified

6use crate::wast_runner::WastRunner;
7
8pub fn run(args: WastArgs) -> Result<()> {
9 let paths = args.paths.into_iter().map(PathBuf::from).collect::<Vec<_>>();
10 let mut runner = WastRunner::new();
11 runner.run_paths(&paths)
12}

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
run_pathsMethod · 0.45

Tested by

no test coverage detected