mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 08:10:49 +00:00
Added VERSION var to all the lib crates
This commit is contained in:
parent
38b0fbf3c5
commit
453801b5ff
@ -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
|
||||
}
|
||||
|
||||
/// 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)?;
|
||||
module.instantiate(import_object)
|
||||
}
|
||||
|
||||
/// The current version of this crate
|
||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
Loading…
x
Reference in New Issue
Block a user