feat: add a histrical wit-bindgen
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#![allow(dead_code, type_alias_bounds)]
|
||||
|
||||
#[test]
|
||||
fn ok() {}
|
||||
|
||||
#[rustfmt::skip]
|
||||
mod imports {
|
||||
test_helpers::codegen_rust_wasm_import!(
|
||||
"*.wit"
|
||||
|
||||
// If you want to exclude a specific test you can include it here with
|
||||
// gitignore glob syntax:
|
||||
//
|
||||
// "!wasm.wit"
|
||||
// "!host.wit"
|
||||
//
|
||||
//
|
||||
// Similarly you can also just remove the `*.wit` glob and list tests
|
||||
// individually if you're debugging.
|
||||
);
|
||||
}
|
||||
|
||||
mod exports {
|
||||
test_helpers::codegen_rust_wasm_export!(
|
||||
"*.wit"
|
||||
|
||||
// TODO: these use push/pull buffer which isn't implemented in the test
|
||||
// generator just yet
|
||||
"!wasi-next.wit"
|
||||
"!host.wit"
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user