1// The output of `bindgen!` should be compatible with `no_std` by default, so 2// test that here with a no_std crate. 3 4#![no_std] 5 6extern crate std; 7 8macro_rules! gentest { 9 ($id:ident $name:tt $path:tt) => { 10 mod $id { 11 wasmtime::component::bindgen!(in $path); 12 } 13 }; 14} 15 16component_macro_test_helpers::foreach!(gentest); 17 18