v0.2.1+luau519

Disable `LUA_USE_LONGJMP`
This commit is contained in:
Alex Orlenko 2022-03-22 23:21:32 +00:00
parent bbb35d7de1
commit d9a2a46c68
No known key found for this signature in database
GPG Key ID: 4C150C250863B96D
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "luau0-src"
version = "0.2.0+luau519"
version = "0.2.1+luau519"
authors = ["Aleksandr Orlenko <zxteam@protonmail.com>"]
edition = "2018"
repository = "https://github.com/khvzak/luau-src-rs"

View File

@ -111,7 +111,8 @@ impl Build {
.clone()
.include(&vm_include_dir)
.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")
.out_dir(&lib_dir)
.compile(vm_lib_name);