mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-13 00:51:20 +00:00
Convert em imports to imports! macro
This commit is contained in:
@ -194,7 +194,6 @@ impl Instance {
|
||||
pub fn module(&self) -> Module {
|
||||
Module::new(Arc::clone(&self.module))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
impl Instance {
|
||||
|
@ -14,7 +14,7 @@ macro_rules! debug {
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! func {
|
||||
($func:ident, [ $( $params:ident ),* ] -> [ $( $returns:ident ),* ] ) => {{
|
||||
($func:path, [ $( $params:ident ),* ] -> [ $( $returns:ident ),* ] ) => {{
|
||||
use $crate::{
|
||||
export::{Context, Export, FuncPointer},
|
||||
types::{FuncSig, Type},
|
||||
|
Reference in New Issue
Block a user