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 {
subst: Default::default(),
symbol_name: method_name,
symbol_name: "__modinit__".to_string(),
body: instance.body,
signature,
resolver: self.resolver.clone(),