rust: pin-init: various cleanups to prepare for self-reference
Get series with b4
b4 am [email protected] change-id 20261006-dev-selfref-dep-df01df1d05bfVersions newest first
- v1 Latest8 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | rust: pin-init: internal: init: forget guards in reverse orderrust/ | +9 | 0 replies | |
| 2/8 | rust: pin-init: internal: init: set span location of guardsrust/ | +1 | 0 replies | |
| 3/8 | rust: pin-init: internal: add utility to handle generics mergingrust/ rust/ | +168 | 0 replies | |
| 4/8 | rust: pin-init: internal: add utility for extract a single attributerust/ rust/ | +27 | 0 replies | |
| 5/8 | rust: pin-init: internal: pin_data: move projection struct into `const _: ()` blockrust/ | +6 | 0 replies | |
| 6/8 | rust: pin-init: internal: pin_data: extract `#[cfg]` processing to its own functionrust/ rust/ | +13 | 0 replies | |
| 7/8 | rust: pin-init: internal: pin_data: rename `'__pin` lifetime to `'__this`rust/ | +13 | 0 replies | |
| 8/8 | rust: pin-init: internal: pin_data: parse into `StructInfo` before generatingrust/ | +112 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Benno Lossin |
|---|---|
| Series | A-b |
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] rust: pin-init: various cleanups to prepare for self-reference
Pin-init self reference is going to be a big feature, touching various places in pin_data and init macros. Do some various cleanups to tidy up the macro codebase, so the feature can land without much refactoring.
Details in commits.
---
Gary Guo (8):
rust: pin-init: internal: init: forget guards in reverse order
rust: pin-init: internal: init: set span location of guards
rust: pin-init: internal: add utility to handle generics merging
rust: pin-init: internal: add utility for extract a single attribute
rust: pin-init: internal: pin_data: move projection struct into const _: () block
rust: pin-init: internal: pin_data: extract #[cfg] processing to its own function
rust: pin-init: internal: pin_data: rename '__pin lifetime to '__this
rust: pin-init: internal: pin_data: parse into StructInfo before generating
rust/pin-init/internal/src/init.rs | 19 +-- rust/pin-init/internal/src/lib.rs | 3 +- rust/pin-init/internal/src/pin_data.rs | 217 +++++++++++++++++++++------------ rust/pin-init/internal/src/util.rs | 189 +++++++++++++++++++++++++++- 4 files changed, 341 insertions(+), 87 deletions(-)
---
base-commit: 499b8f8a5d0401a6ab83b346a307f923640a024a
change-id: 20261006-dev-selfref-dep-df01df1d05bf
Best regards,
Signature · 1 line
Gary Guo <[email protected]>