File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
crates/languages/bevy_mod_scripting_lua/src Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1111 "rust-analyzer.rustc.source" : " discover" ,
1212 "rust-analyzer.linkedProjects" : [
1313 " ./crates/bevy_api_gen/Cargo.toml" ,
14- // "./crates/macro_tests/Cargo.toml",
1514 " Cargo.toml" ,
1615 ],
1716 "rust-analyzer.check.invocationStrategy" : " per_workspace" ,
Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ bevy_mod_scripting_functions = { workspace = true }
6868bevy = { version = " 0.15.0" , default-features = false }
6969bevy_mod_scripting_core = { path = " crates/bevy_mod_scripting_core" , version = " 0.9.0-alpha.1" }
7070bevy_mod_scripting_common = { path = " crates/bevy_mod_scripting_common" , version = " 0.9.0-alpha.1" }
71- bevy_mod_scripting_functions = { path = " crates/bevy_mod_scripting_functions" , version = " 0.9.0-alpha.1" }
71+ bevy_mod_scripting_functions = { path = " crates/bevy_mod_scripting_functions" , version = " 0.9.0-alpha.1" }
7272test_utils = { path = " crates/test_utils" }
7373mlua = { version = " 0.10" }
74- rhai = { version = " 0 .20" }
74+ rhai = { version = " 1 .20.1 " }
7575
7676[dev-dependencies ]
7777bevy = { workspace = true , default-features = true }
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ pub fn lua_context_load(
125125 _: & mut ( ) ,
126126) -> Result < Lua , ScriptError > {
127127 #[ cfg( feature = "unsafe_lua_modules" ) ]
128- let context = unsafe { Lua :: unsafe_new ( ) } ;
128+ let mut context = unsafe { Lua :: unsafe_new ( ) } ;
129129 #[ cfg( not( feature = "unsafe_lua_modules" ) ) ]
130130 let mut context = Lua :: new ( ) ;
131131
You can’t perform that action at this time.
0 commit comments