We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f97fe commit 56a00d7Copy full SHA for 56a00d7
src/hera.cpp
@@ -331,9 +331,7 @@ ExecutionResult execute(
331
ModuleInstance instance(module, &interface);
332
333
try {
334
- Name main = Name("main");
335
- LiteralList args;
336
- instance.callExport(main, args);
+ instance.callExport(Name("main"), LiteralList{});
337
} catch (EndExecution const&) {
338
// This exception is ignored here because we consider it to be a success.
339
// It is only a clutch for POSIX style exit()
0 commit comments