nac3embedded: set ELF entry point symbol

This commit is contained in:
Sebastien Bourdeauducq 2021-09-24 13:25:18 +08:00
parent c26689c7a7
commit bed8ce1f26
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ impl Nac3 {
};
let task = CodeGenTask {
subst: Default::default(),
symbol_name: method_name,
symbol_name: "__modinit__".to_string(),
body: instance.body,
signature,
resolver: self.resolver.clone(),