Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
compile
Method · 0.80
Calls
1
as_str
Method · 0.80
Tested by
no test coverage detected