From 0a2766a84a9c43e3b0d4f5bbb9e4b5a9112c72dc Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Mon, 18 Nov 2024 16:00:33 +0100 Subject: [PATCH] chore: don't enable hoisting by default --- lib/src/compiler/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/compiler/mod.rs b/lib/src/compiler/mod.rs index b5d1a4e7..b2e72432 100644 --- a/lib/src/compiler/mod.rs +++ b/lib/src/compiler/mod.rs @@ -454,7 +454,7 @@ impl<'a> Compiler<'a> { wasm_exports, relaxed_re_syntax: false, cse: false, - hoisting: true, + hoisting: false, error_on_slow_pattern: false, error_on_slow_loop: false, next_pattern_id: PatternId(0),