Raise the test-thread stack in the repo config
Browse files at this commit06e0c1f55fc2aa8e40b8dadc36ad0ed9d6071ceaParent: cb7efaf- build
- raise the test-thread stack in the repo config
- the 48-frame rate-target test overflowed 2 MB in debug builds
1 changed file +6 -0
- .cargo/config.toml +6 -0
.cargo/config.tomlmodified+6 -0
| @@ -5,3 +5,9 @@ | ||
| 5 | 5 | # (cargo does not resolve runner paths relative to this file, and an absolute |
| 6 | 6 | # path would break other worktree checkouts of this repo). |
| 7 | 7 | 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" |