mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
fix typo
This commit is contained in:
parent
8dd158d3fb
commit
d65a5dfe57
@ -424,7 +424,7 @@ pub fn generate_emscripten_env(globals: &mut EmscriptenGlobals) -> ImportObject
|
|||||||
func!(crate::memory::abort_on_cannot_grow_memory).to_export()
|
func!(crate::memory::abort_on_cannot_grow_memory).to_export()
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut env_ns = ecapseman! {
|
let mut env_ns = namespace! {
|
||||||
"memory" => Export::Memory(globals.memory.clone()),
|
"memory" => Export::Memory(globals.memory.clone()),
|
||||||
"table" => Export::Table(globals.table.clone()),
|
"table" => Export::Table(globals.table.clone()),
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ macro_rules! __imports_internal {
|
|||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
macro_rules! ecapseman {
|
macro_rules! namespace {
|
||||||
( $( $imp_name:expr => $import_item:expr, )* ) => {{
|
( $( $imp_name:expr => $import_item:expr, )* ) => {{
|
||||||
let mut ns = $crate::import::Namespace::new();
|
let mut ns = $crate::import::Namespace::new();
|
||||||
$(
|
$(
|
||||||
|
Loading…
Reference in New Issue
Block a user