Skip to content

chore: pin Rust toolchain to 1.100.0 - #316

Merged
jan-kubica merged 1 commit into
mainfrom
chore/rust-1-100
Nov 19, 2026
Merged

jan-kubica merged 1 commit into
mainfrom
chore/rust-1-100

Conversation

@jan-kubica

@jan-kubica jan-kubica commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Moves stdnum to the shared Rust 1.100.0 pin from @stll/oxlint-config 4.2.0.

What moved:

  • rust-toolchain.toml, the regenerated .agents/cloud-setup.sh, the rust:hawk script, and every rustup install, maturin rust-toolchain input and cache key in ci.yml, release.yml and mutants.yml now use 1.100.0.
  • CI builds Hawk 0.1.18, the first release that supports Rust 1.100 (0.1.17 does not compile on it). 0.1.18 was published on 2026-11-16, inside the five-day window, and the maintainer approved adopting it early.
  • @stll/oxlint-config 4.1.0 to 4.2.0, which carries the 1.100.0 shared pin.
  • The Release PR workflow uses stella/.github changeset-release-pr.yml at 964e75f, which runs the version job on Rust 1.100.0. Between the old ref and this one, the inputs and secrets of that workflow are unchanged.
  • Clippy 1.100 flags used_underscore_items on the PyO3 module entry point, so the function is renamed and the Python module name is kept with #[pymodule(name = "_native")]. The Python import path is unchanged.
  • A patch changeset, since the published native, WebAssembly and Python builds now come from the new compiler.

Why: Rust 1.100.0 was released on 2026-11-12, outside the five-day quarantine window.

Validation:

  • bun run check:toolchain and bun run test:tooling pass.
  • cargo ci-fmt and cargo ci-clippy pass on 1.100.0.
  • bun run performance:wasm-size passes on 1.100.0: selected-validator Wasm 467913 bytes (budget 737280), canonical-predicate Wasm 355209 bytes (budget 393216). wasm-bindgen stays at 0.2.129.
  • bun run changeset:check passes.

Summary by CodeRabbit

  • Updates
    • Updated the Rust toolchain used for development, builds and releases to version 1.100.0, including its required components.
    • Updated the Hawk tooling and Oxlint configuration.
    • Updated the release automation.
    • The public validation API remains unchanged.

@jan-kubica
jan-kubica enabled auto-merge (squash) November 19, 2026 07:23
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-19T07:23:08.622762Z
We couldn’t complete this review. Comment @codex review to try again.
45c4081 PR opened
🔒 Security Review ❌ Failed 2026-11-19T07:23:17.823838Z
We couldn’t complete this review. Comment @codex security review to try again.
45c4081 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

.github/workflows/release-pr.yml

PackageVersionLicenseIssue Type
stella/.github/.github/workflows/changeset-release-pr.yml964e75f409643716a2c8ff29c26235f18d2e34a0NullUnknown License
Allowed Licenses: MIT, Apache-2.0, Apache-2.0 WITH LLVM-exception, BSD-2-Clause, BSD-3-Clause, ISC, 0BSD, BlueOak-1.0.0, Unlicense, CC0-1.0, CC-BY-4.0, MIT-0, MPL-2.0, Python-2.0, Zlib, Unicode-3.0
Excluded from license check: pkg:cargo/libfuzzer-sys

OpenSSF Scorecard

PackageVersionScoreDetails
actions/stella/.github/.github/workflows/changeset-release-pr.yml 964e75f409643716a2c8ff29c26235f18d2e34a0 UnknownUnknown
npm/@stll/oxlint-config 4.2.0 UnknownUnknown

Scanned Files

  • .github/workflows/release-pr.yml
  • package.json

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The repository’s Rust toolchain pin changes to 1.100.0 across cloud setup, CI, development commands, and release builds. The changes also update Hawk, declare the Python module name explicitly, and revise release metadata and a reusable workflow reference.

Changes: Toolchain and build updates

Layer / File(s) Summary
Toolchain pin and cloud setup
rust-toolchain.toml, .agents/cloud-setup.sh
The pinned Rust version and cloud setup checks, installers, launchers, managed profile, and hash validations now use Rust 1.100.0.
CI and development toolchain configuration
.github/workflows/ci.yml, .github/workflows/mutants.yml, package.json
CI and mutation workflows select Rust 1.100.0 and update related cache references. CI and the development command use Hawk 0.1.18. The Oxlint config dependency changes from 4.1.0 to 4.2.0.
Release and package integration
.github/workflows/release.yml, .github/workflows/release-pr.yml, crates/stdnum-py/src/lib.rs, .changeset/rust-1-100.md
Release builds use Rust 1.100.0. The Python module declaration names _native explicitly. The Changeset records a patch release, and the release PR workflow references a different reusable workflow commit.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • stella/stdnum#294: Sets the Rust toolchain policy across the same toolchain, CI, release, and cloud setup files.
  • stella/stdnum#302: Introduces Hawk 0.1.17 and its toolchain handling, which this PR updates alongside Hawk 0.1.18.
  • stella/stdnum#265: Adds the shared toolchain pin mechanism and Hawk toolchain exception that this PR updates.
Merge Risk: Minimal · up to 45c40

This change moves the project's Rust builds to 1.100.0 consistently across setup, CI and release workflows. No concrete defect was found in this repository. A minor inefficiency in a shared release workflow can be fixed in that repository separately.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

Copy link
Copy Markdown

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@jan-kubica
jan-kubica merged commit b3f85ee into main Nov 19, 2026
17 of 18 checks passed
@jan-kubica
jan-kubica deleted the chore/rust-1-100 branch November 19, 2026 07:28
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