No implicit quit for Genode (#6515)
This commit is contained in:
parent
e40bf9036f
commit
2ca7b703fb
3 changed files with 4 additions and 4 deletions
|
|
@ -1013,10 +1013,9 @@ proc genMainProc(m: BModule) =
|
|||
ComponentConstruct =
|
||||
"void Libc::Component::construct(Libc::Env &env) {$N" &
|
||||
"\tgenodeEnv = &env;$N" &
|
||||
"\tLibc::with_libc([&] () {$n\t" &
|
||||
"\tLibc::with_libc([&] () {$N\t" &
|
||||
MainProcs &
|
||||
"\t});$N" &
|
||||
"\tenv.parent().exit(0);$N" &
|
||||
"}$N$N"
|
||||
|
||||
var nimMain, otherMain: FormatStr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue