]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: pin-init: bump minimum Rust version to 1.82
authorGary Guo <gary@garyguo.net>
Tue, 28 Apr 2026 13:10:51 +0000 (14:10 +0100)
committerGary Guo <gary@garyguo.net>
Sun, 10 May 2026 21:58:33 +0000 (22:58 +0100)
commit531fdc2c341bded76817cef935c5fe97d88d643b
tree723fc75f7d35263d91ca7640622aacdc99b2ea94
parentbe7ea321a2d3a3d4151c9304f50fa1fe26487a81
rust: pin-init: bump minimum Rust version to 1.82

Following the kernel minimum version bump in commit 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.

Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://patch.msgid.link/20260428-pin-init-sync-v1-2-07f9bd3859fb@garyguo.net
Signed-off-by: Gary Guo <gary@garyguo.net>
rust/pin-init/examples/big_struct_in_place.rs
rust/pin-init/examples/linked_list.rs
rust/pin-init/examples/mutex.rs
rust/pin-init/examples/pthread_mutex.rs
rust/pin-init/examples/static_init.rs
rust/pin-init/internal/src/lib.rs
rust/pin-init/src/lib.rs