Skip to content

chore: bump Rust toolchain 1.90.0 -> 1.91.1#2071

Merged
r-birkner merged 1 commit into
mainfrom
cursor/bump-rust-toolchain-1.91.1
Jun 19, 2026
Merged

chore: bump Rust toolchain 1.90.0 -> 1.91.1#2071
r-birkner merged 1 commit into
mainfrom
cursor/bump-rust-toolchain-1.91.1

Conversation

@pietrodimarco-dfinity

Copy link
Copy Markdown
Contributor

Summary

  • Bump the pinned Rust toolchain from 1.90.0 to 1.91.1 in rust-toolchain.toml and the matching docker/runner.Dockerfile.

Why

Building the CLI (and anything depending on ic-replicated-state from dfinity/ic rev abf88f2) failed with:

error[E0658]: use of unstable library feature `btree_extract_if`

The dependency uses the range-based BTreeMap::extract_if, which was only stabilized in Rust 1.91.0. The repo pinned 1.90.0, one release too old. Verified empirically: 1.90.0 fails, 1.91.1 compiles.

Test plan

  • cargo build / cargo run from rs/cli completes without the btree_extract_if E0658 error
  • CI green with the new toolchain

The ic-replicated-state dependency (dfinity/ic) uses the range-based
BTreeMap::extract_if, which was only stabilized in Rust 1.91.0. Pinning
1.90.0 caused E0658 "unstable library feature btree_extract_if" build
failures. Update rust-toolchain.toml and the matching runner Dockerfile.
@pietrodimarco-dfinity pietrodimarco-dfinity requested a review from a team as a code owner June 19, 2026 10:01
@r-birkner r-birkner merged commit bb67044 into main Jun 19, 2026
8 checks passed
@r-birkner r-birkner deleted the cursor/bump-rust-toolchain-1.91.1 branch June 19, 2026 11:03
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