Merged
Conversation
ae5f56e to
d96edd7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
25.3.1->26.0.0Release Notes
sourcefrog/cargo-mutants (cargo-mutants)
v26.0.0Compare Source
Changed: The default is now not to shuffle mutants: they run in the deterministic order they are generated in the source tree. This should give somewhat better locality of reference due to consecutively testing changes in each package or module. The previous behavior can be restored with
--shuffle.New:
--cargo-test-argoption to pass additional arguments tocargo test.New:
--shardingoption to control how mutants are distributed across multiple machines, with choices ofsliceorround-robin.Changed: The default sharding strategy is now
slice; previously it wasround-robin. Sliced sharding gives each worker better locality of reference due to testing changes to related packages, but may make the runtime more uneven between workers if some packages are slower to test than others.Changed: Tree copying now attempts to use reflinks (copy-on-write) for faster copying on supported filesystems (Btrfs, XFS, APFS), with automatic fallback to regular copying.
Book: Recommend using the
-Zunstable-options --fail-fastargument to test targets to speed up mutation testing, on recent nightly toolchains.Fixed: Don't error if the
--in-diffpatch file contains non-UTF-8 data in non-Rust files, or contains messages about binary files or git index changes.New:
start_timeandend_timefields inoutcomes.json.New: Delete individual fields from struct literals that have a base (default) expression like
..Default::default()or..base_value. This checks that tests verify each field is set correctly and not just relying on default values.New:
cargo_mutants_versionfield inoutcomes.json.Changed: Functions with attributes whose path ends with
testare now skipped, not just those with the plain#[test]attribute. This means functions with#[tokio::test],#[sqlx::test], and similar testing framework attributes are automatically excluded from mutation testing.Changed: The bitwise assignment operators
&=and|=are no longer mutated to^=. In code that accumulates bits into a bitmap starting from zero (e.g.,bitmap |= new_bits),|=and^=produce the same result, making such mutations uninformative.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.