Martin Pool
Martin Pool
seems to do this nicely and might be a good example to follow: if there are typos, it flags them like in This would be complementary to a ready-to-go cargo-mutants...
It ought to work to build `target` once, upload it as a CI artifact, unpack it on all shards, and then run the shards with `--in-place --baseline=skip`.
For example in a PR or working branch, allow `cargo mutants --in-git-diff main`, and just run `git diff` in a subprocess.
From https://github.com/sourcefrog/cargo-mutants/discussions/236#discussioncomment-8089204 Often, Rust code has just `Result` apparent, as a typedef for some underlying `Result`, but `E` may not be apparent from just the AST. However, in some cases...
https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#understanding-the-risk-of-script-injections
qq.com has DNS records like this: s0907._domainkey.qq.com. 806 IN TXT "k=rsa" s0907._domainkey.qq.com. 806 IN TXT " p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAJJepXlnnJe5bFumOeyG8v2W8LFpudv3kOkV3eMapHGkl1TU6hgVCyNSOJgYgQkvozdZRJ5b9d7FJsrEhHbeR+klTcLYCe1u1HP7HbxdUfDU34szV/Tc0rE125WENSGXlwIDAQAB" s0907._domainkey.qq.com. 806 IN TXT " t=y" They are missing the semicolon separators. We...
It is common in the rust repo for at least small changes that reviewers ask the contributor to squash the changes before they're merged. (For example https://github.com/rust-lang/rust/pull/38158#issuecomment-266308467.) To avoid another...