Use CARGO_BUILD_WARNINGS for enforcing warning free compilations (#98)
This is a new variable supported by cargo 1.97+ and sets the build.warnings config.
It allows removing the RUSTFLAGS="-D warnings" default, which will improve compatibility with target.*.rustflags and .cargo/config.toml files.
This adds a new build-warnings input to configure the value for the build.warnings config.
Add error matcher for Rust panics
This will highlight the location of the panic location during tests.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions-rust-lang/setup-rust-toolchain](https://github.com/actions-rust-lang/setup-rust-toolchain) | action | major | `v1` → `v2` |
---
### Release Notes
<details>
<summary>actions-rust-lang/setup-rust-toolchain (actions-rust-lang/setup-rust-toolchain)</summary>
### [`v2.0.0`](https://github.com/actions-rust-lang/setup-rust-toolchain/releases/tag/v2.0.0)
[Compare Source](https://github.com/actions-rust-lang/setup-rust-toolchain/compare/v1.17.0...v2.0.0)
#### What's Changed
- Use `CARGO_BUILD_WARNINGS` for enforcing warning free compilations ([#​98](https://github.com/actions-rust-lang/setup-rust-toolchain/issues/98))
This is a new variable supported by cargo 1.97+ [and sets the `build.warnings` config](https://blog.rust-lang.org/2026/07/09/Rust-1.97.0/#cargo-support-for-denying-warnings).
It allows removing the `RUSTFLAGS="-D warnings"` default, which will improve compatibility with `target.*.rustflags` and `.cargo/config.toml` files.
This adds a new `build-warnings` input to configure the value for the `build.warnings` config.
- Add error matcher for Rust panics
This will highlight the location of the panic location during tests.
- Reuse output of `rustc --version --verbose` calls ([#​103](https://github.com/actions-rust-lang/setup-rust-toolchain/issues/103) by [@​ChihweiLHBird](https://github.com/ChihweiLHBird))
#### New Contributors
- [@​ChihweiLHBird](https://github.com/ChihweiLHBird) made their first contribution in [#​103](https://github.com/actions-rust-lang/setup-rust-toolchain/pull/103)
**Full Changelog**: <https://github.com/actions-rust-lang/setup-rust-toolchain/compare/v1.17.0...v2.0.0>
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC40OC4xIiwidXBkYXRlZEluVmVyIjoiNDQuNDguMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovateBot
changed title from chore(deps): update actions-rust-lang/setup-rust-toolchain action to v2 to chore(deps): update actions-rust-lang/setup-rust-toolchain action to v2 - autoclosed2026-09-25 10:27:27 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v1→v2Release Notes
actions-rust-lang/setup-rust-toolchain (actions-rust-lang/setup-rust-toolchain)
v2.0.0Compare Source
What's Changed
Use
CARGO_BUILD_WARNINGSfor enforcing warning free compilations (#98)This is a new variable supported by cargo 1.97+ and sets the
build.warningsconfig.It allows removing the
RUSTFLAGS="-D warnings"default, which will improve compatibility withtarget.*.rustflagsand.cargo/config.tomlfiles.This adds a new
build-warningsinput to configure the value for thebuild.warningsconfig.Add error matcher for Rust panics
This will highlight the location of the panic location during tests.
Reuse output of
rustc --version --verbosecalls (#103 by @ChihweiLHBird)New Contributors
Full Changelog: https://github.com/actions-rust-lang/setup-rust-toolchain/compare/v1.17.0...v2.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
d39b312d35to8c510a4ecdchore(deps): update actions-rust-lang/setup-rust-toolchain action to v2to chore(deps): update actions-rust-lang/setup-rust-toolchain action to v2 - autoclosedPull request closed