Skip to content

Bump rules_rust to 0.70.0 and rules_wasm_component to 1.0.0#20

Merged
avrabe merged 1 commit into
mainfrom
bump/rules-rust-0.70
May 24, 2026
Merged

Bump rules_rust to 0.70.0 and rules_wasm_component to 1.0.0#20
avrabe merged 1 commit into
mainfrom
bump/rules-rust-0.70

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 23, 2026

Summary

Match relay's Bazel pins so wohl can actually use the rules_rocq_rust dep added in #17. Unblocks PR #19 (Verus CI job).

Why

rules_rocq_rust (in MODULE.bazel since #17) calls rust_toolchain(channel=..., iso_date=..., version=...), which are attributes added in newer rules_rust. wohl's pinned rules_rust commit (6281d27 via git_override) predates those attributes — every Bazel job that resolves the rocq toolchain fails analysis with:

no such attribute 'channel' in 'rust_toolchain' rule
no such attribute 'iso_date' in 'rust_toolchain' rule
no such attribute 'version' in 'rust_toolchain' rule

This is the next layer of the cascade after the nix-install fix landed in #19. Per the architect's call, this bump lands as its own PR.

Changes

  • bazel_dep rules_rust 0.61.0 → 0.70.0 (from BCR).
  • Drop the git_override for rules_rust (commit 6281d27 is now an ancestor of 0.70.0 — the override was a workaround for an older Bazel API break, no longer needed; relay's MODULE.bazel comment documents this).
  • bazel_dep rules_wasm_component 0.1.0 → 1.0.0 (matches relay; targets the same rules_rust 0.70.0).
  • local_path_override for rules_wasm_component retained (active local dev).

Verification limits — read carefully

If anything ripples, the iteration shape is the same as PR #19's: fix forward in this branch (or a child PR), with the architect's input on any non-trivial design choice.

🤖 Generated with Claude Code

avrabe added a commit that referenced this pull request May 23, 2026
Adds fetch-depth: 0 to every cross-repo checkout in ci.yml + refreshes the (now-orphaned) relay and rivet pins to current main. Stops the rivet-validate auth flake recurring on every sibling force-push. Unblocks #20.
rules_rocq_rust (added in #17) calls rust_toolchain with `channel`,
`iso_date`, and `version` attributes — newer-rules_rust APIs that
wohl's pinned rules_rust commit (6281d27 via git_override) does not
have. This blocks PR #19's Verus CI job at toolchain resolution.

Match relay's pin:
  - bazel_dep rules_rust 0.61.0 -> 0.70.0 (from BCR)
  - drop the git_override to 6281d27 — that commit is now an ancestor
    of 0.70.0; the override was the old workaround for a Bazel API
    break that 0.61.0 had inherited (relay's MODULE.bazel comment
    documents this).
  - bazel_dep rules_wasm_component 0.1.0 -> 1.0.0 — rules_wasm_
    component 1.0.0 also targets rules_rust 0.70.0; keep the local_
    path_override so active rules_wasm_component dev still works.

Validation
  - `bazel mod show_repo @rules_rust` resolves 0.70.0 from BCR cleanly.
  - `bazel mod show_repo @rules_wasm_component` resolves via the local
    override.
  - Existing CI (lint/test/kani/fuzz/rivet-validate) is cargo-based
    and does not exercise the bazel rules — so this PR's CI passes
    "trivially". The real bazel-side validation comes via PR #19's
    Verus job once rebased onto this. A future bazel build //:all
    CI job (tracked in #14 / #8) will be the standing gate for any
    rules_wasm_component API ripple through wohl's WASM components.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avrabe avrabe force-pushed the bump/rules-rust-0.70 branch from c30b997 to 5daf69a Compare May 23, 2026 18:34
@avrabe avrabe merged commit 01b174d into main May 24, 2026
5 checks passed
@avrabe avrabe deleted the bump/rules-rust-0.70 branch May 24, 2026 19:04
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