Skip to content

chore(ops): pin rust toolchain to 1.89 to match the rest of saya - #69

Merged
kariy merged 1 commit into
mainfrom
chore/ops-pin-rust-189
Apr 22, 2026
Merged

chore(ops): pin rust toolchain to 1.89 to match the rest of saya#69
kariy merged 1 commit into
mainfrom
chore/ops-pin-rust-189

Conversation

@kariy

@kariy kariy commented Apr 22, 2026

Copy link
Copy Markdown
Member

Summary

`bin/ops` was the only crate on Rust 1.91; everything else is 1.87 or 1.89. Drops `bin/ops/rust-toolchain.toml` from `channel = "1.91"` → `"1.89"`. Compiles clean at 1.89.

Why

The release workflow pre-installs cross-compile targets for toolchains 1.87 and 1.89. 1.91 was never added. When the release build ran `cargo build --target ` inside `bin/ops`, rustup auto-downloaded 1.91 but without the target stdlib pre-installed — producing `error[E0463]: can't find crate for core` on every matrix job and blocking v0.3.2.

Two ways to fix:

The second is cheaper: one fewer pinned toolchain to worry about, no new CI surface, and the 1.91 pin was never justified by any MSRV need (all deps build clean at 1.89).

Test plan

  • `cargo build --release --all-features -p saya-ops` clean on 1.89 locally (1m 46s cold build)
  • v0.3.2 release retriggered after merge — all four target matrix jobs reach `Archive binaries`

Relation to #68

Supersedes #68. If this merges, #68 can close without landing — the workflow stays minimal.

🤖 Generated with Claude Code

bin/ops was the only crate pinned to 1.91; everything else is on 1.87
or 1.89. Release workflow's `Install target` step only pre-installs the
cross-compile target for 1.87 and 1.89, so 1.91's absence produced
`error[E0463]: can't find crate for core` on every release matrix job
and blocked v0.3.2.

Drop to 1.89. Clean release build succeeds locally; no MSRV issues from
dojo-utils, starknet-rs, or any transitive dep. Sidesteps the workflow
fix in #68 (which would also work but adds maintenance surface when
toolchains drift again).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kariy
kariy merged commit 75c5cf0 into main Apr 22, 2026
7 checks passed
kariy added a commit that referenced this pull request Apr 22, 2026
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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