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

Method default_bindgen_args

crates/test/src/lib.rs:1258–1260  ·  view source on GitHub ↗

Returns the default set of arguments that will be passed to `wit-bindgen`. Defaults to empty, but each language can override it.

(&self)

Source from the content-addressed store, hash-verified

1256 ///
1257 /// Defaults to empty, but each language can override it.
1258 fn default_bindgen_args(&self) -> &[&str] {
1259 &[]
1260 }
1261
1262 /// Same as `default_bindgen_args` but specifically applied during codegen
1263 /// tests, such as generating stub impls by default.

Callers 1

generate_bindingsMethod · 0.45

Implementers 8

rust.rscrates/test/src/rust.rs
moonbit.rscrates/test/src/moonbit.rs
c.rscrates/test/src/c.rs
cpp.rscrates/test/src/cpp.rs
go.rscrates/test/src/go.rs
wat.rscrates/test/src/wat.rs
csharp.rscrates/test/src/csharp.rs
custom.rscrates/test/src/custom.rs

Calls

no outgoing calls

Tested by

no test coverage detected