diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2024-01-18 22:18:48 +0000 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2024-01-18 23:05:23 +0000 |
commit | a38e484fe9a84b15ec64c9518252046381d669df (patch) | |
tree | 5db532c887756b6c9bb54577b1a1615214c43f56 /mlua-sys/build | |
parent | eed48889cd3e9ba5f98591d0412df41218a618ef (diff) | |
download | mlua-a38e484fe9a84b15ec64c9518252046381d669df.zip |
Increase luau max stack size to 1M from 100k
Diffstat (limited to 'mlua-sys/build')
-rw-r--r-- | mlua-sys/build/find_vendored.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mlua-sys/build/find_vendored.rs b/mlua-sys/build/find_vendored.rs index a00c286..e3ddbec 100644 --- a/mlua-sys/build/find_vendored.rs +++ b/mlua-sys/build/find_vendored.rs @@ -21,6 +21,7 @@ pub fn probe_lua() { #[cfg(feature = "luau")] let artifacts = luau0_src::Build::new() .enable_codegen(cfg!(feature = "luau-codegen")) + .set_max_cstack_size(1000000) .set_vector_size(if cfg!(feature = "luau-vector4") { 4 } else { 3 }) .build(); |