mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 12:41:32 +00:00
add support for symbol maps
This commit is contained in:
@ -149,7 +149,7 @@ pub fn compile(wasm: &[u8]) -> error::CompileResult<Module> {
|
||||
/// depending on the cause of the failure.
|
||||
pub fn instantiate(wasm: &[u8], import_object: &ImportObject) -> error::Result<Instance> {
|
||||
let module = compile(wasm)?;
|
||||
module.instantiate(import_object)
|
||||
module.instantiate(import_object, None)
|
||||
}
|
||||
|
||||
/// Get a single instance of the default compiler to use.
|
||||
|
Reference in New Issue
Block a user