sourcefrog / cargo-mutants

:zombie: Inject bugs and see if your tests catch them!
https://mutants.rs/
MIT License
547 stars 27 forks source link

Run a GNU jobserver shared across all children #383

Closed sourcefrog closed 2 months ago

sourcefrog commented 2 months ago

Fixes #317

This seems hard to test; what we really care about is the maximum number of rustc or similar child processes ever spawned at any moment. In principle we could run ps and parse the output, at least on Unix, but in fact this would be slightly racy because it probably doesn't observe the whole process tree, and so the test might be slightly flaky...