forked from M-Labs/nac3
nac3embedded: set ELF entry point symbol
This commit is contained in:
parent
c26689c7a7
commit
bed8ce1f26
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue