Macro wasmedge_sdk::params
source · macro_rules! params {
( $( $x:expr ),* ) => { ... };
}
Expand description
Used to pass arguments to the following methods:
- Func::run
- Func::run_async
- FuncRef::run
- FuncRef::run_async
- Executor::run_func
- Executor::run_func_async
- Executor::run_func_ref
- Executor::run_func_ref_async
- Vm::run_func
- Vm::run_func_async
Notice that to use the macro, it is required to use WasmVal
trait. If the version of rust used is less than v1.63, please place #![feature(explicit_generic_args_with_impl_trait)]
on the root of the program.