edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiBb423eaeTahinli2 months ago2942 commits
| 1 | #!/usr/bin/env bash |
| 2 | # Wraps a test/bin invocation in a transient user cgroup scope so a runaway |
| 3 | # allocation dies inside its own cgroup instead of triggering a machine-wide |
| 4 | # OOM kill. Used as the cargo target runner (see .cargo/config.toml) so every |
| 5 | # `cargo test`/`cargo run` invocation of this workspace is capped, from any |
| 6 | # checkout (main repo or worktree). |
| 7 | |
| 8 | |
| 9 | if [; then |
| 10 | |
| 11 | |
| 12 | fi |
| 13 | |
| 14 | if ! ; then |
| 15 | |
| 16 | |
| 17 | fi |
| 18 | |
| 19 | |
| 20 | |
| 21 |