feat: add a histrical wit-bindgen

This commit is contained in:
2023-01-01 00:25:48 +08:00
parent 01e8f5a959
commit aa50d63aec
419 changed files with 45283 additions and 1 deletions

View File

@@ -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"
);
}