From b77f19626d31f34931813b49cb4dfdb19026576a Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Sat, 20 Jul 2024 06:37:30 -0700 Subject: [PATCH 1/3] Fix up NEWS --- NEWS.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index d02f5d46..fdf43151 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,8 +1,6 @@ # cargo-mutants changelog -## 24.7.0 - -- Fixed: The auto-set timeout for building mutants is now 2 times the baseline build time times the number of jobs, with a minimum of 20 seconds. This was changed because builds of mutants contend with each other for access to CPUs and may be slower than the baseline build. +## Unreleased - Changed: No build timeouts by default. Previously, cargo-mutants set a default build timeout based on the baseline build, but experience showed that this would sometimes make builds flaky, because build times can be quite variable. If mutants cause builds to hang, then you can still set a timeout using `--build-timeout` or `--build-timeout-multiplier`. @@ -10,6 +8,10 @@ - Changed: cargo-mutants no longer passes `--cap-lints=allow` to rustc. This was previously done so that mutants would not unnecessarily be unviable due to triggering compiler warnings in trees configured to deny some lints, but it had the undesirable effect of disabling rustc's detection of long running const evaluations. If your tree treats some lints as errors then the previous behavior can be restored with `--cap-lints=true` (or the equivalent config option), or you can use `cfg_attr` and a feature flag to accept those warnings when testing under cargo-mutants. +## 24.7.0 + +- Fixed: The auto-set timeout for building mutants is now 2 times the baseline build time times the number of jobs, with a minimum of 20 seconds. This was changed because builds of mutants contend with each other for access to CPUs and may be slower than the baseline build. + ## 24.5.0 - Fixed: Follow `path` attributes on `mod` statements. From f4e586e0c02b57e5c2c5e421c415d141568df1f6 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 25 Jul 2024 07:23:45 -0700 Subject: [PATCH 2/3] chore: Prepare 24.7.1 release --- Cargo.toml | 2 +- NEWS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9e144814..f4f63060 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-mutants" -version = "24.7.0" +version = "24.7.1" edition = "2021" authors = ["Martin Pool"] license = "MIT" diff --git a/NEWS.md b/NEWS.md index fdf43151..a5db1746 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,6 @@ # cargo-mutants changelog -## Unreleased +## 24.7.1 - Changed: No build timeouts by default. Previously, cargo-mutants set a default build timeout based on the baseline build, but experience showed that this would sometimes make builds flaky, because build times can be quite variable. If mutants cause builds to hang, then you can still set a timeout using `--build-timeout` or `--build-timeout-multiplier`. From 932965d6354b51ed6d553b88d2782449b35a1642 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 29 Jul 2024 17:52:29 -0700 Subject: [PATCH 3/3] update version in Cargo.lock --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 346bf2b2..1bb2f11b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -191,7 +191,7 @@ dependencies = [ [[package]] name = "cargo-mutants" -version = "24.7.0" +version = "24.7.1" dependencies = [ "anyhow", "assert_cmd",