Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into 406-proc-macro-targets
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Sep 30, 2024
2 parents 1a7c70d + 48fa476 commit bacb349
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ jobs:
install cargo-mutants ~/.cargo/bin/
- name: Mutants in-diff
# Normally this would have --in-place, but for the sake of exercising more cases, it does not.
# TODO: Pass --profile=mutants when supported
run: >
cargo mutants --no-shuffle -vV --in-diff git.diff --test-tool=${{matrix.test_tool}} --timeout=500 --build-timeout=500
- name: Archive mutants.out
Expand Down Expand Up @@ -201,7 +200,6 @@ jobs:
cargo mutants --no-shuffle -vV --shard ${{ matrix.shard }}/10
--test-tool ${{ matrix.test_tool }} --baseline=skip --timeout=500
--build-timeout=500 --in-place
--cargo-arg=--profile=mutants
- name: Archive mutants.out
uses: actions/upload-artifact@v4
if: always()
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ message: Please cite this project using these information.
repository-code: https://github.com/sourcefrog/cargo-mutants
title: cargo-mutants
url: https://mutants.rs/
version: 24.7.0
version: 24.9.0
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-mutants"
version = "24.7.1"
version = "24.9.0"
edition = "2021"
authors = ["Martin Pool"]
license = "MIT"
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

- New: Mutate `proc_macro` targets and functions.

## 24.9.0

- Fixed: Avoid generating empty string elements in `ENCODED_RUSTFLAGS` when `--cap-lints` is set. In some situations these could cause a compiler error complaining about the empty argument.

- New: `--profile` option allows selecting a Cargo profile. In particular, it's recommended that you can use `--profile=mutants` and configure a custom profile in your `Cargo.toml` to optimize the build for mutants, by turning off debug symbols.
Expand Down

0 comments on commit bacb349

Please sign in to comment.