MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / bindgen

Function bindgen

crates/component-macro/src/lib.rs:51–55  ·  view source on GitHub ↗
(input: proc_macro::TokenStream)

Source from the content-addressed store, hash-verified

49
50#[proc_macro]
51pub fn bindgen(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
52 bindgen::expand(&mut parse_macro_input!(input as bindgen::Config))
53 .unwrap_or_else(Error::into_compile_error)
54 .into()
55}

Callers

nothing calls this directly

Calls 1

expandFunction · 0.70

Tested by

no test coverage detected