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

Method produces_component

crates/test/src/rust.rs:303–308  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

301 }
302
303 fn produces_component(&self) -> bool {
304 match self.opts.rust.rust_target.as_str() {
305 "wasm32-unknown-unknown" | "wasm32-wasi" | "wasm32-wasip1" => false,
306 _ => true,
307 }
308 }
309}

Callers 1

compileMethod · 0.80

Calls 1

as_strMethod · 0.80

Tested by

no test coverage detected