From 06e0c1f55fc2aa8e40b8dadc36ad0ed9d6071cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 7 Sep 2026 04:02:41 +0300 Subject: [PATCH] build: raise the test-thread stack in the repo config; the 48-frame rate-target test overflowed 2 MB in debug builds --- .cargo/config.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index ad84c55b..ab0d82b2 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,3 +5,9 @@ # (cargo does not resolve runner paths relative to this file, and an absolute # path would break other worktree checkouts of this repo). runner = ["bash", "-c", "root=$(git rev-parse --show-toplevel) && exec \"$root/scripts/memguard-runner.sh\" \"$@\"", "--"] + +[env] +# The AV1 rate-target tests keep several frames' worth of encoder state on the +# test thread's stack; the 2 MB default overflows in debug builds (release +# passes). Cap lives in the repo so every checkout and worktree gets it. +RUST_MIN_STACK = "67108864"