Latest Results
fix(ci): Raise native addon MSRV to Rust 1.85 (#12491)
<!-- Note: CI script will automatically rebase your PR so please do not
rebase unless required -->
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->
**Description:**
The Windows native carrier MSRV check fails before compilation because
the pinned `jobserver 0.1.35` requires Rust 1.85 and its Windows
dependency, `getrandom 0.4.3`, uses edition 2024. Cargo 1.73 cannot
parse that dependency's manifest.
Raise the three private native addon crates' MSRV to Rust 1.85, and use
Rust 1.85.0 in the MSRV harness and Windows release check. Update the
related comments and documentation, preserve the historical verification
record, and add a `swc_core: patch` changeset. Pinned dependencies, the
repository lockfile, public APIs, and the workspace toolchain are
unchanged.
Validation on macOS aarch64 for the implementation in `9b4c869dbf`:
- `git submodule update --init --recursive` completed.
- Rust 1.85.0 MSRV harness and tests for all three private crates
passed.
- `cargo fmt --all` and `cargo clippy --all --all-targets -- -D
warnings` passed. Clippy emitted configuration warnings for the existing
workspace-level Rust 1.73 setting.
- `packages/core`: `pnpm build:dev` passed; `pnpm test` passed with 119
tests and 40 files passing, and three tests and two files skipped.
- The initial MSRV and crate test runs failed because macOS's `/var` is
a symlink. Both full suites passed after canonicalizing `TMPDIR`,
matching the existing release workflow. Test assertions were not
changed.
- Windows MSRV compilation and embedded cleanup-worker execution remain
unverified locally and require Windows CI. Three explicit filesystem
tests remained ignored by default.
The current failed release checks out the existing nightly tag. After
merging this fix, start a new release run that includes it; rerunning
the old release will still use the old tagged source. Existing tags are
not changed by this PR.
**BREAKING CHANGE:**
Building the three private, unpublished native addon crates now requires
Rust 1.85 instead of Rust 1.73. Published Rust crate MSRV declarations
and npm runtime requirements are unchanged.
**Related issue (if exists):**
Failure evidence:
https://github.com/swc-project/swc/actions/runs/37585439164/job/112741953018 Latest Branches
0%
kdy1/raise-native-addon-msrv 0%
kdy1/issue-12488-output-indentation 0%
kdy1/fix-s390x-release-assembly © 2026 CodSpeed Technology