mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-26 15:11:37 +00:00
Added VERSION var to all the lib crates
This commit is contained in:
@ -71,3 +71,6 @@ fn validate(bytes: &[u8]) -> CompileResult<()> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The current version of this crate
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
@ -1466,3 +1466,6 @@ pub fn generate_emscripten_env(globals: &EmscriptenGlobals) -> ImportObject {
|
|||||||
|
|
||||||
imports
|
imports
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The current version of this crate
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
@ -68,3 +68,6 @@ pub fn validate(wasm: &[u8]) -> bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The current version of this crate
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
@ -45,3 +45,6 @@ pub fn instantiate(
|
|||||||
let module = compile(wasm)?;
|
let module = compile(wasm)?;
|
||||||
module.instantiate(import_object)
|
module.instantiate(import_object)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The current version of this crate
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
Reference in New Issue
Block a user