Bumping the Rust Nightly Toolchain

Official

Update Rust nightly for Motoko RTS reliably.

Authorcaffeinelabs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill solves the problem of keeping the Motoko RTS build working when the required rustc-nightly toolchain version changes, preventing broken pinned dependencies and failing reproducibility.

Core Features & Use Cases

  • Nightly toolchain bump workflow: Update the nightly date, overlay, and fixed-output hashes so Nix builds remain deterministic.
  • Cargo lockfile maintenance: Refresh Cargo.lock for both RTS and RTS tests to resolve exact pins after toolchain/runtime dependency changes.
  • Build breakage troubleshooting: Apply targeted fixes for common nightly-only failures (flag changes, JSON target spec typing, panic strategy adjustments, and stale vendored std-deps).

Use case example: When CI starts failing after upstream nightly changes, use this skill to bump the toolchain date, recompute rustStdDepsHash, update Cargo lockfiles, and complete an RTS rebuild while addressing known nightly regressions.

Quick Start

Run the skill steps to bump the nightly date, regenerate the RTS dependency hash, update the Cargo lockfiles, and finish with a green nix build .#rts.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Bumping the Rust Nightly Toolchain
Download link: https://github.com/caffeinelabs/motoko/archive/main.zip#bumping-the-rust-nightly-toolchain

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.