We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a05ad5d + 417d305 commit cb24b8eCopy full SHA for cb24b8e
libsql-ffi/build.rs
@@ -370,6 +370,11 @@ pub fn build_bundled(out_dir: &str, out_path: &Path) {
370
cfg.flag("-DSQLITE_ENABLE_SESSION");
371
}
372
373
+ if let Ok(parser_stack_limit) = env::var("YYSTACKDEPTH") {
374
+ cfg.flag(&format!("-DYYSTACKDEPTH={parser_stack_limit}"));
375
+ }
376
+ println!("cargo:rerun-if-env-changed=YYSTACKDEPTH");
377
+
378
if let Ok(limit) = env::var("SQLITE_MAX_VARIABLE_NUMBER") {
379
cfg.flag(&format!("-DSQLITE_MAX_VARIABLE_NUMBER={limit}"));
380
0 commit comments