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 11
11
"rust-analyzer.rustc.source" : " discover" ,
12
12
"rust-analyzer.linkedProjects" : [
13
13
" ./crates/bevy_api_gen/Cargo.toml" ,
14
- // "./crates/macro_tests/Cargo.toml",
15
14
" Cargo.toml" ,
16
15
],
17
16
"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 }
68
68
bevy = { version = " 0.15.0" , default-features = false }
69
69
bevy_mod_scripting_core = { path = " crates/bevy_mod_scripting_core" , version = " 0.9.0-alpha.1" }
70
70
bevy_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" }
72
72
test_utils = { path = " crates/test_utils" }
73
73
mlua = { version = " 0.10" }
74
- rhai = { version = " 0 .20" }
74
+ rhai = { version = " 1 .20.1 " }
75
75
76
76
[dev-dependencies ]
77
77
bevy = { workspace = true , default-features = true }
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ pub fn lua_context_load(
125
125
_: & mut ( ) ,
126
126
) -> Result < Lua , ScriptError > {
127
127
#[ cfg( feature = "unsafe_lua_modules" ) ]
128
- let context = unsafe { Lua :: unsafe_new ( ) } ;
128
+ let mut context = unsafe { Lua :: unsafe_new ( ) } ;
129
129
#[ cfg( not( feature = "unsafe_lua_modules" ) ) ]
130
130
let mut context = Lua :: new ( ) ;
131
131
You can’t perform that action at this time.
0 commit comments