Skip to content

Conversation

@wks
Copy link
Collaborator

@wks wks commented Jan 9, 2026

We start using the MSRV-aware resolver (resolver = "3").

We bumped dependency versions.

  • We removed locked dependency versions that work around broken transitive dependencies due to MSRV limitation.
  • We still limit some of our dependency versions (sysinfo and criterion) below the latest version because their latest versions require higher MSRV and newer Rust editions.
    • Note that the MSRV-aware resolver can find a compatible version only within the allowed version range. For example, if we specify 0.7.2, it will be equivalent to >=0.7.2,<0.8.0. So if 0.7.4 is compatible but 0.7.5 is not, it will resolve to 0.7.4. But if 0.7.2 is incompatible, the resolver will refuse to go below 0.7.2, and the resolution will fail. Both sysinfo and criterion broke MSRV compatibility when bumping a minor version (since the major versions are 0, minor version signifies incompatibility), so the MSRV-aware resolver is not helping for those two specific dependencies.

Removed a workaround in ByteMapStateStorage::new where we could use const {} to initialize a vector without copying.

@wks
Copy link
Collaborator Author

wks commented Jan 12, 2026

The API check reported a removed implementation of ParallelBridge in the "rayon" crate. It was likely auto-generated by the "rayon" dependency transitively pulled in from the "sysinfo" crate. The "sysinfo" crate used to depend on "rayon" but no longer now. We never intended to expose this implementation to the user.

@wks wks marked this pull request as ready for review January 12, 2026 08:02
@wks wks requested a review from qinsoon January 12, 2026 08:02
Copy link
Member

@qinsoon qinsoon left a comment

Choose a reason for hiding this comment

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

LGTM

@wks wks added this pull request to the merge queue Jan 13, 2026
Merged via the queue into mmtk:master with commit 56adff4 Jan 13, 2026
32 of 34 checks passed
@wks wks deleted the fix/bump-deps-rust-1.92 branch January 13, 2026 03:51
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.

2 participants