Skip to content

chore: Update Rust to v1.98 - #28

Merged
samuelburnham merged 2 commits into
mainfrom
update/rust-1.98
Aug 22, 2026
Merged

chore: Update Rust to v1.98#28
samuelburnham merged 2 commits into
mainfrom
update/rust-1.98

Conversation

@samuelburnham

Copy link
Copy Markdown
Member

No description provided.

Repin the fenix toolchain hash in flake.nix; without it every nix build
fails on a hash mismatch against the 1.92 pin.

clippy::from_iter_instead_of_collect was removed upstream, so the xclippy
alias emitted renamed_and_removed_lints. Under the CI action's default
RUSTFLAGS=-D warnings that was a hard error, not a warning.

Replace both warning-denial mechanisms with build.warnings, stabilized in
1.97. It applies to local packages only, so a warning in a dependency no
longer fails the build, and it stays out of RUSTFLAGS, so it no longer
invalidates the dependency build cache.
The alias existed because clippy had no project-wide lint configuration.
Cargo's [lints] tables cover that now, so the lint set moves to
[workspace.lints] and both members inherit it. CI lint jobs call
cargo clippy directly with the full argument list.

Dropping the alias removes .cargo/config.toml entirely, so build.warnings
moves to CARGO_BUILD_WARNINGS in the CI workflow and the flake's clippy
check. Local builds warn rather than fail.

Because the lints now travel with the manifest instead of one alias, they
apply to every cargo invocation, including the flake's clippy check, which
previously ran with only clippy's defaults.
@samuelburnham
samuelburnham enabled auto-merge (squash) August 22, 2026 18:58
@samuelburnham
samuelburnham merged commit 93c7e52 into main Aug 22, 2026
5 checks passed
@samuelburnham
samuelburnham deleted the update/rust-1.98 branch August 22, 2026 19:32
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.

2 participants