forge
Explore
Log in

Don't you dare go Hollow

Raise the test-thread stack in the repo config

Browse files at this commit

06e0c1f55fc2aa8e40b8dadc36ad0ed9d6071ceaAhmet Kaan GümüşParent: cb7efaf
  • build
    • raise the test-thread stack in the repo config
    • the 48-frame rate-target test overflowed 2 MB in debug builds
Show full message
build: raise the test-thread stack in the repo config; the 48-frame rate-target test overflowed 2 MB in debug builds
.cargo/config.tomlmodified+6 -0
@@ -5,3 +5,9 @@
55 # (cargo does not resolve runner paths relative to this file, and an absolute
66 # path would break other worktree checkouts of this repo).
77 runner = ["bash", "-c", "root=$(git rev-parse --show-toplevel) && exec \"$root/scripts/memguard-runner.sh\" \"$@\"", "--"]
8+
9+[env]
10+# The AV1 rate-target tests keep several frames' worth of encoder state on the
11+# test thread's stack; the 2 MB default overflows in debug builds (release
12+# passes). Cap lives in the repo so every checkout and worktree gets it.
13+RUST_MIN_STACK = "67108864"