mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
Update src/lune/builtins/luau.rs
Co-authored-by: Filip Tibell <filip.tibell@gmail.com>
This commit is contained in:
parent
c2a15729a0
commit
1eab6586e2
1 changed files with 4 additions and 4 deletions
|
@ -11,10 +11,10 @@ pub fn create(lua: &'static Lua) -> LuaResult<LuaTable> {
|
|||
.build_readonly()
|
||||
}
|
||||
|
||||
fn compile_source<'a>(
|
||||
lua: &'static Lua,
|
||||
(source, options): (LuaString<'a>, Option<LuaTable<'a>>),
|
||||
) -> LuaResult<LuaString<'a>> {
|
||||
fn compile_source<'lua>(
|
||||
lua: &'lua Lua,
|
||||
(source, options): (LuaString<'lua>, Option<LuaTable<'lua>>),
|
||||
) -> LuaResult<LuaString<'lua>> {
|
||||
let mut optimization_level = 1;
|
||||
let mut coverage_level = 0;
|
||||
let mut debug_level = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue