split mutants config
90878bbe5a8f85b6014ec3635001eb4c19bdb3f0
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: db4fa1ed7d5d
There are many coding harnesses - but this one is fast
90878bbe5a8f85b6014ec3635001eb4c19bdb3f0
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+9 / −5 text lines
+9 / −5 text lines
/// Scratch lives under `target/mutants-tmp` on disk: the system tmpfs is/// 16G of RAM and tree copies would crawl the machine. Jobs stay low for/// the same reason. The baseline test run is skipped because `cargo x/// check` owns test verification./// Split of concerns, kept CI-sensible:/// - `.cargo/mutants.toml` owns tree properties (scope, tool, profiles)/// so bare `cargo mutants` behaves identically anywhere./// - this step owns run context: disk-backed scratch (system tmpfs is/// 16G RAM and tree copies crawl the machine), a modest default job/// count overridable through `CARGO_MUTANTS_JOBS`, and a skipped/// baseline because `cargo x check` owns test verification. let jobs = std::env::var("CARGO_MUTANTS_JOBS").unwrap_or_else(|_| "4".to_string());