forked from M-Labs/nac3
nac3standalone: fix error message when no entry point is found
This commit is contained in:
parent
01b51b62ee
commit
c6f75c8bde
|
@ -103,7 +103,7 @@ fn main() {
|
||||||
let mut instance =
|
let mut instance =
|
||||||
defs[resolver
|
defs[resolver
|
||||||
.get_identifier_def("run".into())
|
.get_identifier_def("run".into())
|
||||||
.unwrap_or_else(|| panic!("cannot find `run() -> int32 entry point`")).0
|
.unwrap_or_else(|| panic!("cannot find run() entry point")).0
|
||||||
].write();
|
].write();
|
||||||
if let TopLevelDef::Function {
|
if let TopLevelDef::Function {
|
||||||
instance_to_stmt,
|
instance_to_stmt,
|
||||||
|
|
Loading…
Reference in New Issue