edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | [target.x86_64-unknown-linux-gnu] |
| 2 | # Wrap every test/bin run in scripts/memguard-runner.sh so a runaway |
| 3 | # allocation gets killed inside its own cgroup instead of OOM-killing the |
| 4 | # machine. Located via `git rev-parse --show-toplevel` from the invoker's cwd |
| 5 | # (cargo does not resolve runner paths relative to this file, and an absolute |
| 6 | # path would break other worktree checkouts of this repo). `git bisect run` |
| 7 | # exports GIT_DIR, which would make that rev-parse resolve the test package |
| 8 | # dir instead of the repo. Strip the leaked git vars first. Trees without |
| 9 | # .git (cargo-mutants scratch copies, remote-run rsyncs) walk up from the cwd to |
| 10 | # the first dir holding the runner instead. |
| 11 | runner = ["bash", "-c", "root=$(env -u GIT_DIR -u GIT_WORK_TREE -u GIT_INDEX_FILE git rev-parse --show-toplevel 2>/dev/null) || { root=$PWD; while [ \"$root\" != / ] && [ ! -x \"$root/scripts/memguard-runner.sh\" ]; do root=$(dirname \"$root\"); done; }; exec \"$root/scripts/memguard-runner.sh\" \"$@\"", "--"] |
| 12 | |
| 13 | [env] |
| 14 | # The AV1 rate-target tests keep several frames' worth of encoder state on the |
| 15 | # test thread's stack; the 2 MB default overflows in debug builds (release |
| 16 | # passes). Cap lives in the repo so every checkout and worktree gets it. |
| 17 | RUST_MIN_STACK = "67108864" |