mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 11:16:42 +01:00
fix start function not being remapped
This commit is contained in:
@@ -396,7 +396,7 @@ impl<'a> ParsedModule<'a> {
|
||||
|
||||
if let Some(start_function) = self.start_section {
|
||||
module.section(&enc::StartSection {
|
||||
function_index: start_function,
|
||||
function_index: *function_map.get(&start_function).unwrap(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user