MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / produces_component

Function produces_component

crates/test/src/c.rs:165–170  ·  view source on GitHub ↗
(runner: &Runner)

Source from the content-addressed store, hash-verified

163}
164
165fn produces_component(runner: &Runner) -> bool {
166 match runner.opts.c.c_target.as_str() {
167 "wasm32-wasip1" => false,
168 _ => true,
169 }
170}
171
172fn verify(runner: &Runner, verify: &Verify<'_>, compiler: PathBuf) -> Result<()> {
173 let mut cmd = Command::new(compiler);

Callers 1

compileFunction · 0.85

Calls 1

as_strMethod · 0.80

Tested by

no test coverage detected