Repository navigation
deps: lower the ruint floor to 1.17.1 - #1006
Open
citizen-stig wants to merge 1 commit into
Open
citizen-stig wants to merge 1 commit into
citizen-stig wants to merge 1 commit into
Conversation
ruint 1.18 and later declare rust-version 1.90. Solana platform-tools (up to v1.56) ship rustc 1.89, so nomt-core cannot be built for SBF with the 1.21 floor. 1.17.1 is the oldest release with the reciprocal_mg10 soundness fix (RUSTSEC-2025-0137). The shift-flag advisory fixed in 1.20 (RUSTSEC-2026-0220) only affects the overflow flags of checked/overflowing shifts, which nomt does not use. Cargo.lock stays on 1.21.1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
citizen-stig
marked this pull request as ready for review
November 26, 2026 08:40
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.
nomt-corecannot currently be built for Solana SBF.ruint1.18 and later declarerust-version = 1.90, but every Solana platform-tools release up to v1.56 ships rustc 1.89, and the workspace requiresruint ^1.21.This lowers the requirement to
1.17.1.Cargo.lockstays on 1.21.1, so nomt's own builds don't change. Downstream crates can resolve to 1.17.x when their toolchain needs it.Security:
reciprocal_mg10soundness fix (RUSTSEC-2025-0137).<<=/>>=incore/src/page_id.rsand never reads those flags.Verification:
cargo test -p nomt-corewith ruint pinned to 1.17.2: 39 passed.cargo check --workspace --all-targetswith ruint 1.17.2: OK.sbpf-solana-solanawith platform-tools v1.53 (rustc 1.89). I didn't link or deploy a program, or measure compute units.nomtcrate's tests were not run against 1.17.2.🤖 Generated with Claude Code