summaryrefslogtreecommitdiffstats
path: root/rust/kernel/init.rs
Commit message (Expand)AuthorAgeFilesLines
* rust: kernel: remove `#[allow(clippy::new_ret_no_self)]`Gary Guo2023-10-051-10/+10
* Merge tag 'rust-6.6' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2023-08-291-371/+275
|\
| * rust: init: add `{pin_}chain` functions to `{Pin}Init<T, E>`Benno Lossin2023-08-211-0/+142
| * rust: init: make `PinInit<T, E>` a supertrait of `Init<T, E>`Benno Lossin2023-08-211-13/+8
| * rust: init: implement `Zeroable` for `UnsafeCell<T>` and `Opaque<T>`Benno Lossin2023-08-211-1/+7
| * rust: init: add functions to create array initializersBenno Lossin2023-08-211-0/+88
| * rust: init: add `..Zeroable::zeroed()` syntax for zeroing all missing fieldsBenno Lossin2023-08-211-1/+15
| * rust: init: make guards in the init macros hygienicBenno Lossin2023-08-211-1/+0
| * rust: init: consolidate init macrosBenno Lossin2023-08-211-364/+24
* | rust: init: make doctests compilable/testableMiguel Ojeda2023-07-181-9/+17
|/
* rust: upgrade to Rust 1.68.2Miguel Ojeda2023-05-311-0/+5
* rust: init: broaden the blanket impl of `Init`Benno Lossin2023-04-211-2/+2
* rust: types: add `Opaque::ffi_init`Benno Lossin2023-04-121-0/+9
* rust: init: add `Zeroable` trait and `init::zeroed` functionBenno Lossin2023-04-121-2/+95
* rust: init: add `stack_pin_init!` macroBenno Lossin2023-04-121-6/+134
* rust: init: add `PinnedDrop` trait and macrosBenno Lossin2023-04-121-0/+111
* rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin2023-04-121-13/+115
* rust: init: add initialization macrosBenno Lossin2023-04-121-5/+802
* rust: add pin-init API coreBenno Lossin2023-04-121-0/+187