1
0
forked from M-Labs/nac3

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

View File

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