Skip to content

ci: Use Cargo build.warnings instead of RUSTFLAGS=-Dwarnings - #44

Merged
mkroening merged 1 commit into
mainfrom
cargo-warnings
Sep 9, 2026
Merged

mkroening merged 1 commit into
mainfrom
cargo-warnings

Conversation

@mkroening

Copy link
Copy Markdown
Member

build.warnings is stable since Rust 1.97.0 and allows controlling rustc and clippy warnings (previously RUSTFLAGS=-Dwarnings) as well as rustdoc warnings (previously RUSTDOCFLAGS=-Dwarnings) and the new Cargo warnings.

@mkroening mkroening self-assigned this Sep 9, 2026
[`build.warnings`](https://doc.rust-lang.org/cargo/reference/config.html#buildwarnings) is stable since Rust 1.97.0 and allows controlling rustc and clippy warnings (previously `RUSTFLAGS=-Dwarnings`) as well as rustdoc warnings (previously `RUSTDOCFLAGS=-Dwarnings`) and the new Cargo warnings.
@mkroening
mkroening force-pushed the cargo-warnings branch 2 times, most recently from 92d31ed to f0bdbe5 Compare September 9, 2026 09:30
@mkroening
mkroening added this pull request to the merge queue Sep 9, 2026
Merged via the queue into main with commit feb865b Sep 9, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant