Skip to content

bump minimum Rust version to 1.82#129

Merged
nbdd0121 merged 1 commit intomainfrom
dev/1.85
Apr 16, 2026
Merged

bump minimum Rust version to 1.82#129
nbdd0121 merged 1 commit intomainfrom
dev/1.85

Conversation

@nbdd0121
Copy link
Copy Markdown
Member

Following the kernel minimum version bump in f32fb9c58a5b ("rust: bump Rust minimum supported version to 1.85.0 (Debian Trixie)"), pin-init can bump its minimum version to 1.85, too.

This removes the lint_reasons feature which is stabilized in 1.81 and the raw_ref_ops and new_uninit features which are stabilized in 1.82.

Copy link
Copy Markdown
Member

@BennoLossin BennoLossin left a comment

Choose a reason for hiding this comment

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

Thanks for doing this :)

We should also now record the minimum rust version in the Cargo.toml.

Comment thread .github/workflows/ci.yml
@nbdd0121
Copy link
Copy Markdown
Member Author

QEMU has MSRV of 1.83. It doesn't yet use pin-init, but could, so I decided to keep MSRV at 1.82 unless we have a specific reason to bump past it.

@nbdd0121 nbdd0121 changed the title bump minimum Rust version to 1.85 bump minimum Rust version to 1.82 Apr 16, 2026
Copy link
Copy Markdown
Member

@BennoLossin BennoLossin left a comment

Choose a reason for hiding this comment

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

I agree that bumping to only 1.82 is better, since we don't need anything from a higher version.

Following the kernel minimum version bump in f32fb9c58a5b ("rust: bump Rust
minimum supported version to 1.85.0 (Debian Trixie)"), bump pin-init's
minimum Rust version to 1.82.

This removes the `lint_reasons` feature which is stabilized in 1.81 and the
`raw_ref_ops` and `new_uninit` features which are stabilized in 1.82.

Given we do not use any features that are stabilized in 1.82..=1.85 range,
and pin-init crate is useful for other projects which may have their own
MSRV requirements, the minimum version is not straightly bumped to 1.85.

Signed-off-by: Gary Guo <gary@garyguo.net>
@nbdd0121 nbdd0121 merged commit 5b70186 into main Apr 16, 2026
26 checks passed
@nbdd0121 nbdd0121 deleted the dev/1.85 branch April 16, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants