Skip to content

Commit c9099a4

Browse files
committed
Update to Luau 0.590
1 parent e4eeee0 commit c9099a4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cc = { version = "1.0" }
5858
pkg-config = { version = "0.3.17" }
5959
lua-src = { version = ">= 546.0.0, < 546.1.0", optional = true }
6060
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 }
6262

6363
[dev-dependencies]
6464
rustyline = "10.0"

src/chunk.rs

+1
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ impl Compiler {
228228
coverageLevel: self.coverage_level as c_int,
229229
vectorLib: vector_lib.map_or(ptr::null(), |s| s.as_ptr()),
230230
vectorCtor: vector_ctor.map_or(ptr::null(), |s| s.as_ptr()),
231+
vectorType: ptr::null(),
231232
mutableGlobals: mutable_globals_ptr,
232233
};
233234
ffi::luau_compile(source.as_ref(), options)

src/ffi/luau/luacode.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ pub struct lua_CompileOptions {
1010
pub coverageLevel: c_int,
1111
pub vectorLib: *const c_char,
1212
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,
1415
}
1516

1617
extern "C" {

0 commit comments

Comments
 (0)