forked from M-Labs/nac3
1
0
Fork 0

nac3standalone: fix error message when no entry point is found

This commit is contained in:
ychenfo 2021-11-22 14:52:52 +08:00
parent 01b51b62ee
commit c6f75c8bde
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ fn main() {
let mut instance =
defs[resolver
.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();
if let TopLevelDef::Function {
instance_to_stmt,