mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-30 06:04:25 +00:00
parent
90eaad6cc2
commit
1a3a302708
@ -130,6 +130,7 @@ struct Moon::Main
|
||||
|
||||
Main(Libc::Env &env) : _env(env)
|
||||
{
|
||||
Libc::with_libc([&] () {
|
||||
Moon::env = &_moon_env;
|
||||
|
||||
lua_State *lua = lua_open();
|
||||
@ -144,6 +145,7 @@ struct Moon::Main
|
||||
Genode::log(lua_tostring(lua, -1));
|
||||
|
||||
lua_close(lua);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user