Update faerie to 0.9.1

This commit is contained in:
Yury Delendik
2019-03-26 10:05:25 -05:00
committed by Dan Gohman
parent db0abe8431
commit 94ca967d0a
11 changed files with 16 additions and 35 deletions

View File

@@ -13,7 +13,7 @@ pub fn declare_functions(
for (i, _function_relocs) in relocations.iter().rev() {
let func_index = module.func_index(i);
let string_name = format!("_wasm_function_{}", func_index.index());
obj.declare(string_name, Decl::Function { global: true })
obj.declare(string_name, Decl::function().global())
.map_err(|err| format!("{}", err))?;
}
Ok(())