mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-06-30 23:11:41 +00:00
fix index
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user