wit-bindgen-cli 0.61.1

CLI tool to generate bindings for WIT documents and the component model.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ args = ['--disable-run-ctors-once-workaround']

include!(env!("BINDINGS"));

struct Test;

export!(Test);

impl exports::the::test::i::Guest for Test {
    fn no_clobber(
        _faux_result: exports::the::test::i::Result,
        _faux_option: exports::the::test::i::Option,
    ) -> Result<(), Option<bool>> {
        Err(None)
    }
}