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.