From: Gary Guo <gary@garyguo.net>
To: "Benno Lossin" <lossin@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Boqun Feng" <boqun@kernel.org>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>
Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,
Alistair Francis <alistair.francis@wdc.com>,
Mohamad Alsadhan <mo@sdhn.cc>
Subject: [PATCH 00/10] rust: pin-init upstream sync for v7.2 (round 1)
Date: Tue, 28 Apr 2026 14:10:49 +0100 [thread overview]
Message-ID: <20260428-pin-init-sync-v1-0-07f9bd3859fb@garyguo.net> (raw)
This series collects all upstream developments of pin-init to date and
synchronize them to the kernel tree.
Last cycle Benno sent a single sync late in the development cycle, but I
expect a lot of developments this cycle so I'll probably be sending
multiple of them; for bigger changes they'll be sent as their own series
instead of part of a round of sync.
A major change in this cycle is the bump of MSRV to 1.82 to get rid of
unstable features, following the kernel version bump in 7.1. The MSRV is
bumped straight to 1.85 as pin-init can also be used outside kernel, so we
avoid bumping unless there is a need for new version.
Here are the list of merged changes included in the series:
- examples: mark as `#[inline]` all `From::from()`s for `Error`
https://github.com/Rust-for-Linux/pin-init/pull/126
- bump minimum Rust version to 1.82
https://github.com/Rust-for-Linux/pin-init/pull/129
- cleanup `Zeroable` and `ZeroableOptions`
https://github.com/Rust-for-Linux/pin-init/pull/118
- internal: add missing where clause to projection types
https://github.com/Rust-for-Linux/pin-init/pull/121
- internal: internal: remove redundant `#[pin]` filtering
https://github.com/Rust-for-Linux/pin-init/pull/131
- add mailmap and relicense `internal/zeroable.rs` & `.clippy.toml`
https://github.com/Rust-for-Linux/pin-init/pull/137
Here are the list of changes that I intend to merge soon to upstream
pin-init, which I also included in the series:
- cleanup workaround for old Rust compiler
https://github.com/Rust-for-Linux/pin-init/pull/141
- internal: turn `PhantomPinned` error into warnings
https://github.com/Rust-for-Linux/pin-init/pull/135
For information, here are the list of upstream-only changes, which are
related to Cargo or tests/CI changes only.
- build.rs: use `option_env!` to register env variable dependency
https://github.com/Rust-for-Linux/pin-init/pull/128
- clean up dependencies
https://github.com/Rust-for-Linux/pin-init/pull/130
- tests: add test for check correct macro hygiene
https://github.com/Rust-for-Linux/pin-init/pull/133
- ci: use tagged release of actions
https://github.com/Rust-for-Linux/pin-init/pull/134
- ci: have a single job to gate all required jobs
https://github.com/Rust-for-Linux/pin-init/pull/138
- ci: various cleanups
https://github.com/Rust-for-Linux/pin-init/pull/139
Best,
Gary
---
Alistair Francis (1):
rust: pin-init: examples: mark as `#[inline]` all `From::from()`s for `Error`
Benno Lossin (1):
rust: pin-init: internal: adjust license identifier of `zeroable.rs`
Gary Guo (5):
rust: pin-init: bump minimum Rust version to 1.82
rust: pin-init: internal: remove redundant `#[pin]` filtering
rust: pin-init: fix badge URL in README
rust: pin-init: cleanup workaround for old Rust compiler
rust: pin-init: internal: turn `PhantomPinned` error into warnings
Mohamad Alsadhan (3):
rust: pin-init: cleanup `Zeroable` and `ZeroableOptions`
rust: pin-init: extend `impl_zeroable_option` macro to handle generics
rust: pin-init: internal: add missing where clause to projection types
rust/pin-init/README.md | 2 +-
rust/pin-init/examples/big_struct_in_place.rs | 3 -
rust/pin-init/examples/error.rs | 2 +
rust/pin-init/examples/linked_list.rs | 2 -
rust/pin-init/examples/mutex.rs | 2 -
rust/pin-init/examples/pthread_mutex.rs | 2 -
rust/pin-init/examples/static_init.rs | 2 -
rust/pin-init/internal/src/diagnostics.rs | 14 +++++
rust/pin-init/internal/src/init.rs | 9 +--
rust/pin-init/internal/src/lib.rs | 1 -
rust/pin-init/internal/src/pin_data.rs | 10 ++--
rust/pin-init/internal/src/zeroable.rs | 2 +-
rust/pin-init/src/lib.rs | 79 ++++++++++-----------------
13 files changed, 52 insertions(+), 78 deletions(-)
---
base-commit: 1c7cc4904160c6fc6377564140062d68a3dc93a0
change-id: 20260414-pin-init-sync-ae407945a726
Best regards,
--
Gary Guo <gary@garyguo.net>
next reply other threads:[~2026-04-28 13:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 13:10 Gary Guo [this message]
2026-04-28 13:10 ` [PATCH 01/10] rust: pin-init: examples: mark as `#[inline]` all `From::from()`s for `Error` Gary Guo
2026-04-28 13:10 ` [PATCH 02/10] rust: pin-init: bump minimum Rust version to 1.82 Gary Guo
2026-04-28 13:10 ` [PATCH 03/10] rust: pin-init: cleanup `Zeroable` and `ZeroableOptions` Gary Guo
2026-04-28 13:10 ` [PATCH 04/10] rust: pin-init: extend `impl_zeroable_option` macro to handle generics Gary Guo
2026-04-28 13:10 ` [PATCH 05/10] rust: pin-init: internal: add missing where clause to projection types Gary Guo
2026-04-28 13:10 ` [PATCH 06/10] rust: pin-init: internal: remove redundant `#[pin]` filtering Gary Guo
2026-04-28 13:10 ` [PATCH 07/10] rust: pin-init: internal: adjust license identifier of `zeroable.rs` Gary Guo
2026-04-28 13:10 ` [PATCH 08/10] rust: pin-init: fix badge URL in README Gary Guo
2026-04-28 13:10 ` [PATCH 09/10] rust: pin-init: cleanup workaround for old Rust compiler Gary Guo
2026-04-28 13:10 ` [PATCH 10/10] rust: pin-init: internal: turn `PhantomPinned` error into warnings Gary Guo
2026-05-01 13:44 ` [PATCH 11/11] rust: pin-init: internal: remove `collect_tuple` polyfill after MSRV bump Gary Guo
2026-05-10 22:05 ` [PATCH 00/10] rust: pin-init upstream sync for v7.2 (round 1) Gary Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260428-pin-init-sync-v1-0-07f9bd3859fb@garyguo.net \
--to=gary@garyguo.net \
--cc=a.hindborg@kernel.org \
--cc=aliceryhl@google.com \
--cc=alistair.francis@wdc.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=dakr@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=mo@sdhn.cc \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox