summaryrefslogtreecommitdiff
path: root/build/patches/mvzr_budget.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build/patches/mvzr_budget.zig')
-rw-r--r--build/patches/mvzr_budget.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/patches/mvzr_budget.zig b/build/patches/mvzr_budget.zig
new file mode 100644
index 00000000..e1d14c12
--- /dev/null
+++ b/build/patches/mvzr_budget.zig
@@ -0,0 +1,4 @@
+/// pardes's patch (its build.zig): matchPattern entries left before a
+/// match gives up, and whether one did. Set by the caller per search.
+pub threadlocal var steps_left: u64 = std.math.maxInt(u64);
+pub threadlocal var exhausted: bool = false;