mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-05-21 19:51:25 +00:00
fix index
This commit is contained in:
parent
c216d98b7e
commit
e25b6cf6e3
@ -27,7 +27,7 @@ pub fn optimize(
|
||||
}
|
||||
|
||||
// If there is start function in module, it should stary
|
||||
module.start_section().map(|ss| stay.insert(Symbol::Function(ss as usize)));
|
||||
module.start_section().map(|ss| stay.insert(resolve_function(&module, ss)));
|
||||
|
||||
// All symbols used in data/element segments are also should be preserved
|
||||
let mut init_symbols = Vec::new();
|
||||
|
Loading…
x
Reference in New Issue
Block a user