chore: Update Rust toolchain to v1.98 - #46
Merged
Conversation
Repin the fenix toolchain hash in flake.nix; without it every nix build fails on a hash mismatch against the 1.92 pin. Adopt build.warnings, stabilized in 1.97, in place of the two -D warnings mechanisms. It applies to local packages only, so a warning in blake3 or lean-ffi no longer fails the build, and it stays out of RUSTFLAGS, so it no longer invalidates the dependency build cache.
Adopt the same arrangement as lean-ffi: the lint set lives in the manifest so it applies to every cargo invocation, and CARGO_BUILD_WARNINGS promotes local-package warnings to errors in CI and in the flake's clippy check. Local builds warn rather than fail. That empties rust/.cargo/config.toml, so remove it.
The manifest moved to 93c7e529 while the lock still recorded 2a9c91eb. Crane vendors from the lock, so the sandboxed cargo check found no vendored source for the pinned rev and tried to fetch it over the network, which the Nix build sandbox denies.
arthurpaulino
approved these changes
Aug 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.