Commit c9099a4 1 parent e4eeee0 commit c9099a4 Copy full SHA for c9099a4
File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ cc = { version = "1.0" }
58
58
pkg-config = { version = " 0.3.17" }
59
59
lua-src = { version = " >= 546.0.0, < 546.1.0" , optional = true }
60
60
luajit-src = { version = " >= 210.4.0, < 210.5.0" , optional = true }
61
- luau0-src = { version = " 0.5 .0" , optional = true }
61
+ luau0-src = { version = " 0.7 .0" , optional = true }
62
62
63
63
[dev-dependencies ]
64
64
rustyline = " 10.0"
Original file line number Diff line number Diff line change @@ -228,6 +228,7 @@ impl Compiler {
228
228
coverageLevel : self . coverage_level as c_int ,
229
229
vectorLib : vector_lib. map_or ( ptr:: null ( ) , |s| s. as_ptr ( ) ) ,
230
230
vectorCtor : vector_ctor. map_or ( ptr:: null ( ) , |s| s. as_ptr ( ) ) ,
231
+ vectorType : ptr:: null ( ) ,
231
232
mutableGlobals : mutable_globals_ptr,
232
233
} ;
233
234
ffi:: luau_compile ( source. as_ref ( ) , options)
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ pub struct lua_CompileOptions {
10
10
pub coverageLevel : c_int ,
11
11
pub vectorLib : * const c_char ,
12
12
pub vectorCtor : * const c_char ,
13
- pub mutableGlobals : * mut * const c_char ,
13
+ pub vectorType : * const c_char ,
14
+ pub mutableGlobals : * const * const c_char ,
14
15
}
15
16
16
17
extern "C" {
You can’t perform that action at this time.
0 commit comments