wiggle: convenient syntax for marking all funcs async

This commit is contained in:
Pat Hickey
2021-04-14 14:51:24 -07:00
parent 0127676621
commit 228096c840
3 changed files with 73 additions and 70 deletions

View File

@@ -7,9 +7,7 @@ use wiggle_test::{impl_errno, HostMemory, MemArea, WasiCtx};
wiggle::from_witx!({
witx: ["$CARGO_MANIFEST_DIR/tests/atoms.witx"],
async: {
atoms::{int_float_args, double_int_return_float}
}
async: *,
});
impl_errno!(types::Errno);