aboutsummaryrefslogtreecommitdiffstats
path: root/rust/pin-init
AgeCommit message (Expand)AuthorFilesLines
14 daysrust: pin-init: internal: project using full slotGary Guo3-10/+9
14 daysrust: pin-init: internal: project slots instead of referencesGary Guo4-123/+133
14 daysrust: pin-init: internal: make `make_closure` inherent methodsGary Guo3-53/+23
14 daysrust: pin-init: internal: use marker on drop guard type for pinned fieldsGary Guo3-44/+68
14 daysrust: pin-init: internal: init: handle code blocks earlyGary Guo1-45/+55
2026-05-14rust: pin-init: internal: add `PhantomInvariant` and `PhantomInvariantLifetime`Gary Guo3-21/+59
2026-05-14rust: pin-init: internal: pin_data: add struct to record field infoMohamad Alsadhan1-21/+32
2026-05-14rust: pin-init: internal: pin_data: use closure for `handle_field`Gary Guo1-74/+70
2026-05-10rust: pin-init: examples: fix `useless_borrows_in_formatting` clippy warningGary Guo3-3/+3
2026-05-10rust: pin-init: internal: remove `collect_tuple` polyfill after MSRV bumpGary Guo1-19/+8
2026-05-10rust: pin-init: internal: turn `PhantomPinned` error into warningsGary Guo2-1/+15
2026-05-10rust: pin-init: cleanup workaround for old Rust compilerGary Guo2-24/+3
2026-05-10rust: pin-init: fix badge URL in READMEGary Guo1-1/+1
2026-05-10rust: pin-init: internal: adjust license identifier of `zeroable.rs`Benno Lossin1-1/+1
2026-05-10rust: pin-init: internal: remove redundant `#[pin]` filteringGary Guo1-4/+0
2026-05-10rust: pin-init: internal: add missing where clause to projection typesMohamad Alsadhan1-1/+3
2026-05-10rust: pin-init: extend `impl_zeroable_option` macro to handle genericsMohamad Alsadhan1-15/+14
2026-05-10rust: pin-init: cleanup `Zeroable` and `ZeroableOptions`Mohamad Alsadhan1-23/+23
2026-05-10rust: pin-init: bump minimum Rust version to 1.82Gary Guo7-18/+0
2026-05-10rust: pin-init: examples: mark as `#[inline]` all `From::from()`s for `Error`Alistair Francis1-0/+2
2026-04-30rust: pin-init: fix incorrect accessor reference lifetimeGary Guo2-68/+66
2026-04-30rust: pin-init: internal: move alignment check to `make_field_check`Gary Guo1-41/+37
2026-03-25rust: pin-init: replace `addr_of_mut!` with `&raw mut`Antonio Hickey8-10/+14
2026-03-25rust: pin-init: implement ZeroableOption for NonZero* integer typesHamdan-Khan1-7/+14
2026-03-25rust: pin-init: doc: de-clutter documentation with fake-variadicsGary Guo1-1/+18
2026-03-25rust: pin-init: properly document let binding workaroundBenno Lossin3-6/+20
2026-03-25rust: pin-init: build: simplify use of nightly featuresGary Guo6-10/+7
2026-03-12rust: pin-init: replace shadowed return token by `unsafe`-to-create tokenBenno Lossin2-19/+31
2026-03-06rust: pin-init: internal: init: document load-bearing fact of field accessorsBenno Lossin1-0/+8
2026-03-06rust: pin-init: internal: init: remove `#[disable_initialized_field_access]`Benno Lossin1-31/+8
2026-02-22Merge tag 'rust-fixes-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/o...Linus Torvalds1-2/+2
2026-02-19rust: pin-init: replace clippy `expect` with `allow`Benno Lossin1-2/+2
2026-01-17rust: pin-init: Implement `InPlaceWrite<T>` for `&'static mut MaybeUninit<T>`Oleksandr Babak1-0/+27
2026-01-17rust: pin-init: internal: init: simplify Zeroable safety checkBenno Lossin1-6/+1
2026-01-17rust: pin-init: internal: init: add escape hatch for referencing initialized ...Benno Lossin1-23/+52
2026-01-17rust: pin-init: internal: init: add support for attributes on initializer fieldsBenno Lossin1-14/+55
2026-01-17rust: pin-init: add `#[default_error(<type>)]` attribute to initializer macrosBenno Lossin1-3/+41
2026-01-17rust: pin-init: rewrite the initializer macros using `syn`Benno Lossin4-1005/+460
2026-01-17rust: pin-init: add `?Sized` bounds to traits in `#[pin_data]` macroBenno Lossin1-2/+2
2026-01-17rust: pin-init: rewrite `#[pin_data]` using `syn`Benno Lossin4-836/+501
2026-01-17rust: pin-init: rewrite the `#[pinned_drop]` attribute macro using `syn`Benno Lossin3-66/+52
2026-01-17rust: pin-init: rewrite `derive(Zeroable)` and `derive(MaybeZeroable)` using ...Benno Lossin4-216/+74
2026-01-17rust: pin-init: internal: add utility API for syn error handlingBenno Lossin2-0/+33
2026-01-17rust: pin-init: add `syn` dependency and remove `proc-macro[2]` and `quote` w...Benno Lossin5-43/+14
2026-01-17rust: pin-init: allow the crate to refer to itself as `pin-init` in doc testsBenno Lossin1-0/+5
2026-01-17rust: pin-init: remove `try_` versions of the initializer macrosBenno Lossin4-118/+31
2025-12-05Merge tag 'driver-core-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+87
2025-11-19rust: pin-init: fix typo in docsBrian Harring1-1/+1
2025-11-19rust: pin-init: fix broken rust doc linkBenno Lossin1-0/+2
2025-10-21add `[pin_]init_scope` to execute code before creating an initializerBenno Lossin1-0/+87
2025-09-11rust: pin-init: add references to previously initialized fieldsBenno Lossin1-34/+115
2025-09-11rust: pin-init: add code blocks to `[try_][pin_]init!` macrosBenno Lossin2-0/+31
2025-09-11rust: pin-init: add pin projections to `#[pin_data]`Benno Lossin1-0/+61
2025-09-11rust: pin-init: rename `project` -> `project_this` in doctestBenno Lossin1-1/+1
2025-09-11rust: pin-init: README: add information banner on the rename to `pin-init`Benno Lossin1-0/+12
2025-09-11rust: pin-init: examples: error: use `Error` in `fn main()`Benno Lossin1-1/+3
2025-07-13Merge tag 'pin-init-v6.17' of https://github.com/Rust-for-Linux/linux into ru...Miguel Ojeda9-123/+268
2025-06-24rust: Use consistent "# Examples" heading style in rustdocViresh Kumar1-1/+1
2025-06-11rust: pin-init: examples, tests: use `ignore` instead of conditionally compil...Benno Lossin1-1/+2
2025-06-11rust: pin-init: implement `ZeroableOption` for function pointers with up to 2...Benno Lossin1-0/+16
2025-06-11rust: pin-init: change `impl Zeroable for Option<NonNull<T>>` to `ZeroableOpt...Benno Lossin1-1/+3
2025-06-11rust: pin-init: implement `ZeroableOption` for `&T` and `&mut T`Benno Lossin1-0/+7
2025-06-11rust: pin-init: add `zeroed()` & `Zeroable::zeroed()` functionsBenno Lossin1-0/+52
2025-06-11rust: pin-init: add `Zeroable::init_zeroed`Benno Lossin1-1/+12
2025-06-11rust: pin-init: rename `zeroed` to `init_zeroed`Benno Lossin4-24/+24
2025-06-11rust: pin-init: feature-gate the `stack_init_reuse` test on the `std` featureBenno Lossin1-0/+1
2025-06-11rust: pin-init: examples: pthread_mutex: disable the main test for miriBenno Lossin1-1/+1
2025-06-11rust: pin-init: examples, tests: add conditional compilation in order to comp...Benno Lossin5-90/+121
2025-06-11rust: pin-init: change blanket impls for `[Pin]Init` and add one for `Result<...Benno Lossin1-4/+26
2025-06-11rust: pin-init: improve safety documentation for `impl<T> [Pin]Init<T> for T`Benno Lossin1-5/+7
2025-05-18Merge tag 'pin-init-v6.16' of https://github.com/Rust-for-Linux/linux into ru...Miguel Ojeda9-10/+279
2025-05-07rust: clean Rust 1.88.0's `clippy::uninlined_format_args` lintMiguel Ojeda1-2/+1
2025-05-01rust: pin-init: improve documentation for `Zeroable` derive macrosBenno Lossin1-6/+18
2025-05-01rust: pin-init: fix typosBenno Lossin1-1/+1
2025-05-01rust: pin-init: add `MaybeZeroable` derive macroBenno Lossin4-1/+120
2025-05-01rust: pin-init: allow `Zeroable` derive macro to also be applied to unionsBenno Lossin1-0/+30
2025-05-01rust: pin-init: allow `pub` fields in `derive(Zeroable)`Benno Lossin1-1/+1
2025-05-01rust: pin-init: Update the structural pinning link in readme.Christian Schrefl2-2/+2
2025-05-01rust: pin-init: Update Changelog and ReadmeChristian Schrefl2-0/+12
2025-05-01rust: pin-init: Implement `Wrapper` for `UnsafePinned` behind feature flag.Christian Schrefl1-0/+12
2025-05-01rust: pin-init: Add the `Wrapper` trait.Christian Schrefl1-0/+44
2025-05-01rust: pin-init: add `cast_[pin_]init` functions to change the initialized typeBenno Lossin1-0/+32
2025-04-21rust: pin-init: examples: use `allow` instead of `expect`Benno Lossin1-1/+1
2025-04-21rust: pin-init: examples: conditionally enable `feature(lint_reasons)`Benno Lossin4-0/+5
2025-04-21rust: pin-init: internal: skip rustfmt formatting of kernel-only moduleBenno Lossin1-0/+1
2025-04-21rust: pin-init: synchronize README.mdBenno Lossin1-2/+4
2025-04-08rust: pin-init: use Markdown autolinks in Rust commentsMiguel Ojeda2-2/+2
2025-04-08rust: pin-init: alloc: restrict `impl ZeroableOption` for `Box` to `T: Sized`Miguel Ojeda1-5/+3
2025-03-30Merge tag 'rust-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/...Linus Torvalds17-0/+4844
2025-03-16rust: pin-init: re-enable doctestsBenno Lossin1-27/+27
2025-03-16rust: pin-init: add miscellaneous files from the user-space versionBenno Lossin2-0/+300
2025-03-16rust: pin-init: miscellaneous synchronization with the user-space versionBenno Lossin3-6/+3
2025-03-16rust: pin-init: internal: synchronize with user-space versionBenno Lossin5-3/+25
2025-03-16rust: pin-init: synchronize documentation with the user-space versionBenno Lossin3-54/+115
2025-03-16rust: pin-init: add `std` and `alloc` support from the user-space versionBenno Lossin3-6/+220
2025-03-16rust: make pin-init its own crateBenno Lossin9-87/+112
2025-03-16rust: add pin-init crate build infrastructureMiguel Ojeda3-0/+12
2025-03-16rust: pin-init: change the way the `paste!` macro is calledBenno Lossin1-6/+8
2025-03-16rust: pin-init: remove kernel-crate dependencyBenno Lossin2-28/+18
2025-03-16rust: pin-init: fix documentation linksBenno Lossin2-10/+13
2025-03-16rust: add `ZeroableOption` and implement it instead of `Zeroable` for `Option...Benno Lossin1-0/+11
2025-03-16rust: pin-init: move impl `Zeroable` for `Opaque` and `Option<KBox<T>>` into ...Benno Lossin1-7/+1
2025-03-16rust: pin-init: move `InPlaceInit` and impls of `InPlaceWrite` into the kerne...Benno Lossin1-121/+4
2025-03-16rust: pin-init: move the default error behavior of `try_[pin_]init`Benno Lossin1-42/+13
2025-03-16rust: pin-init: call `try_[pin_]init!` from `[pin_]init!` instead of `__init_...Benno Lossin1-20/+6
2025-03-16rust: pin-init: change examples to the user-space versionBenno Lossin7-186/+915
2025-03-16rust: pin-init: move proc-macro documentation into pin-init crateBenno Lossin2-106/+114
2025-03-16rust: add extensions to the pin-init crate and move relevant documentation thereBenno Lossin1-14/+0
2025-03-16rust: move pin-init API into its own directoryBenno Lossin8-0/+3653