Skip to main content

eval_script

Function eval_script 

Source
pub fn eval_script(lua: &Lua, path: &Path) -> Result<Value>
Expand description

Runtime::eval_script on a bare state — for code that holds only the Lua handle, such as a builtin that loads the application into the state it runs in (nitr test’s t.app()). The same text-only compile and the same in-context error rendering.