parent
bbb35d7de1
commit
d9a2a46c68
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "luau0-src"
|
name = "luau0-src"
|
||||||
version = "0.2.0+luau519"
|
version = "0.2.1+luau519"
|
||||||
authors = ["Aleksandr Orlenko <zxteam@protonmail.com>"]
|
authors = ["Aleksandr Orlenko <zxteam@protonmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
repository = "https://github.com/khvzak/luau-src-rs"
|
repository = "https://github.com/khvzak/luau-src-rs"
|
||||||
|
|
|
@ -111,7 +111,8 @@ impl Build {
|
||||||
.clone()
|
.clone()
|
||||||
.include(&vm_include_dir)
|
.include(&vm_include_dir)
|
||||||
.define("LUA_API", "extern \"C\"")
|
.define("LUA_API", "extern \"C\"")
|
||||||
.define("LUA_USE_LONGJMP", "1")
|
// Works 9 times slower, see https://github.com/Roblox/luau/issues/425
|
||||||
|
// .define("LUA_USE_LONGJMP", "1")
|
||||||
.add_files_by_ext(&vm_source_dir, "cpp")
|
.add_files_by_ext(&vm_source_dir, "cpp")
|
||||||
.out_dir(&lib_dir)
|
.out_dir(&lib_dir)
|
||||||
.compile(vm_lib_name);
|
.compile(vm_lib_name);
|
||||||
|
|
Loading…
Reference in New Issue