mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-22 13:11:32 +00:00
Fix memory api to be sound
This commit is contained in:
@ -64,11 +64,11 @@ macro_rules! __export_func_convert_type {
|
||||
///
|
||||
/// # Usage:
|
||||
/// ```
|
||||
/// # use wasmer_runtime_core::imports;
|
||||
/// # use wasmer_runtime_core::{imports, func};
|
||||
/// # use wasmer_runtime_core::vm::Ctx;
|
||||
/// let import_object = imports! {
|
||||
/// "env" => {
|
||||
/// "foo" => foo<[i32] -> [i32]>,
|
||||
/// "foo" => func!(foo, [i32] -> [i32]),
|
||||
/// },
|
||||
/// };
|
||||
///
|
||||
|
Reference in New Issue
Block a user