Skip to content

feat: add Rust toolchain configuration and update CI workflow#524

Merged
softmarshmallow merged 1 commit intomainfrom
chore/fix-canvas-wasm-ci-build
Feb 5, 2026
Merged

feat: add Rust toolchain configuration and update CI workflow#524
softmarshmallow merged 1 commit intomainfrom
chore/fix-canvas-wasm-ci-build

Conversation

@softmarshmallow
Copy link
Member

@softmarshmallow softmarshmallow commented Feb 5, 2026

  • Introduced a new rust-toolchain.toml file specifying the Rust version 1.92.0 with a minimal profile.
  • Updated the GitHub Actions workflow to use the specified Rust toolchain version for builds.

Note

Low Risk
CI/config-only change that pins the compiler version; main risk is unexpected build breakage if some crates rely on a different Rust version.

Overview
Pins the project’s Rust toolchain to 1.92.0 by adding rust-toolchain.toml (minimal profile), making local and CI builds use a consistent compiler version.

Updates the build-canvas GitHub Actions workflow to explicitly install Rust 1.92.0 via dtolnay/rust-toolchain, reducing CI drift from stable.

Written by Cursor Bugbot for commit 3ce2b36. This will update automatically on new commits. Configure here.

Summary by CodeRabbit

  • Chores
    • Configured explicit Rust toolchain version (1.92.0) for builds via GitHub Actions workflow and new toolchain configuration file with minimal profile settings.

- Introduced a new `rust-toolchain.toml` file specifying the Rust version 1.92.0 with a minimal profile.
- Updated the GitHub Actions workflow to use the specified Rust toolchain version for builds.
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
backgrounds Ready Ready Preview, Comment Feb 5, 2026 0:25am
blog Ready Ready Preview, Comment Feb 5, 2026 0:25am
docs Ready Ready Preview, Comment Feb 5, 2026 0:25am
grida Ready Ready Preview, Comment Feb 5, 2026 0:25am
viewer Ready Ready Preview, Comment Feb 5, 2026 0:25am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
code Ignored Ignored Feb 5, 2026 0:25am
legacy Ignored Ignored Feb 5, 2026 0:25am

Request Review

@coderabbitai
Copy link

coderabbitai bot commented Feb 5, 2026

Walkthrough

The pull request adds explicit Rust toolchain versioning (1.92.0) to the project. A new rust-toolchain.toml configuration file is introduced specifying the toolchain version and minimal profile, while the GitHub Actions build workflow is updated to reference the same toolchain version.

Changes

Cohort / File(s) Summary
Rust Toolchain Configuration
.github/workflows/build-canvas.yml, rust-toolchain.toml
Establishes explicit Rust toolchain version 1.92.0 across build configurations via GitHub Actions workflow parameter and dedicated toolchain configuration file with minimal profile.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A toolchain pinned with care so true,
Version 1.92.0 shining bright and new,
Minimal profile, lean and light,
Build Canvas runs with steady might! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately summarizes the main changes: adding a Rust toolchain configuration file and updating the CI workflow to use version 1.92.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/fix-canvas-wasm-ci-build

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on March 5

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.92.0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rust toolchain version inconsistency between CI workflows

Medium Severity

The PR adds rust-toolchain.toml pinning to Rust 1.92.0 and updates build-canvas.yml to use this version, but test-crates.yml still uses dtolnay/rust-toolchain@stable without specifying the version. This means tests run on the latest stable (currently 1.93.0) while builds use 1.92.0, and local development uses 1.92.0 from the toolchain file. This inconsistency could cause tests to pass in CI but fail locally, or introduce subtle behavioral differences between workflows.

Additional Locations (1)

Fix in Cursor Fix in Web

@softmarshmallow softmarshmallow merged commit 54a94d3 into main Feb 5, 2026
13 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Feb 5, 2026
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