wasmtime-component-macro 24.0.7

Macros for deriving component interface types from Rust types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// The output of `bindgen!` should be compatible with `no_std` by default, so
// test that here with a no_std crate.

#![no_std]

extern crate std;

macro_rules! gentest {
    ($id:ident $name:tt $path:tt) => {
        mod $id {
            wasmtime::component::bindgen!(in $path);
        }
    };
}

component_macro_test_helpers::foreach!(gentest);