Skip to content

chore: align Rust toolchains on 1.97.1 - #509

Draft
Dzejkop wants to merge 1 commit into
mainfrom
codex/rust-1-97-rollout
Draft

chore: align Rust toolchains on 1.97.1#509
Dzejkop wants to merge 1 commit into
mainfrom
codex/rust-1-97-rollout

Conversation

@Dzejkop

@Dzejkop Dzejkop commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Pin WalletKit's development, CI, crate release, and Swift release compilers to Rust 1.97.1 for the shared Rust rollout. Refresh only the Nix Rust overlay so the host, WASM, and Android shells can resolve this release. Fix the two test-only Clippy findings exposed by the new compiler.

The test matrix now explicitly selects RUSTUP_TOOLCHAIN and covers 1.97.1, stable, nightly, and the declared 1.91 MSRV. The workspace MSRV remains 1.91, verified with an all-targets/all-features workspace check on 1.91.0. Nightly documentation builds remain intentional. Cargo dependencies and Cargo.lock are unchanged.

Validation

  • Rust 1.97.1: cargo fmt -- --check.
  • Rust 1.97.1: workspace/all-targets Clippy with -D warnings for all features, default features, and no default features.
  • Rust 1.97.1: cargo test -p walletkit-db -p walletkit-sqlite --locked --offline — 21 tests passed.
  • Rust 1.91.0: cargo check --workspace --all-targets --all-features --locked --offline.
  • cargo deny --offline check bans licenses sources (cargo-deny 0.20.2).
  • Actionlint 1.7.12 (custom runner labels excluded) and git diff --check.
  • Nix evaluations confirm Rust 1.97.1 in the macOS default and Linux Android shells; only rust-overlay changed in flake.lock.

Builds used pinned Nargo 1.0.0-beta.11. Network access was needed for pinned build-script assets. Full RPC/Foundry integration tests, cross-target builds, browser tests, foreign binding tests, and nightly docs are left to CI. Cargo reports an existing future-incompatibility warning in proc-macro-error2 2.0.1.

Rollout dependency

Keep this PR in draft until the coordinated infrastructure rollout sets the organization RUST_TOOLCHAIN_CHANNEL variable to 1.97.1 and participating repositories are ready. Version alignment remains enforced and will fail while the organization variable differs. No live variable or infrastructure changes are made here.

This is the future Rust upgrade, separate from walletkit #508 and the Flamingo 1.94.1 downgrade in worldcoin/flamingo#88. It does not change that integration branch or PR.

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