summaryrefslogtreecommitdiffstats
path: root/rust/kernel
AgeCommit message (Expand)AuthorLines
2023-04-12rust: init: add `PinnedDrop` trait and macrosBenno Lossin-0/+390
2023-04-12rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin-13/+139
2023-04-12rust: init: add initialization macrosBenno Lossin-5/+1639
2023-04-12rust: add pin-init API coreBenno Lossin-0/+226
2023-04-12rust: types: add `Opaque::raw_get`Benno Lossin-0/+8
2023-04-12rust: sync: change error type of constructor functionsBenno Lossin-4/+4
2023-04-12rust: enable the `pin_macro` featureBenno Lossin-0/+1
2023-04-12rust: error: Add from_result() helperWedson Almeida Filho-0/+39
2023-04-12rust: error: Add a helper to convert a C ERR_PTR to a `Result`Sven Van Asbroeck-1/+49
2023-04-12rust: error: Add to_result() helperWedson Almeida Filho-1/+10
2023-04-12rust: error: Add Error::from_errno{_unchecked}()Miguel Ojeda-0/+32
2023-04-12rust: error: Add Error::to_ptr()Asahi Lina-0/+7
2023-04-12rust: error: Rename to_kernel_errno() -> to_errno()Asahi Lina-1/+1
2023-04-12rust: sync: arc: Add UniqueArc<MaybeUninit<T>::assume_init()Asahi Lina-0/+11
2023-04-10rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast()Asahi Lina-0/+30
2023-04-10rust: Enable the new_uninit feature for kernel and driver cratesAsahi Lina-0/+1
2023-04-10rust: sync: impl {Debug,Display} for {Unique,}ArcBoqun Feng-0/+25
2023-04-06rust: kernel: Mark rust_fmt_argument as extern "C"David Gow-1/+5
2023-04-06rust: str: fix requierments->requirements typoPatrick Blass-1/+1
2023-02-20Merge tag 'rust-6.3' of https://github.com/Rust-for-Linux/linuxLinus Torvalds-2/+761
2023-02-07rust: types: implement `ForeignOwnable` for `Arc<T>`Wedson Almeida Filho-1/+31
2023-02-01rust: types: implement `ForeignOwnable` for the unit typeWedson Almeida Filho-0/+12
2023-02-01rust: types: implement `ForeignOwnable` for `Box<T>`Wedson Almeida Filho-0/+23
2023-02-01rust: types: introduce `ForeignOwnable`Wedson Almeida Filho-0/+55
2023-02-01rust: types: introduce `ScopeGuard`Wedson Almeida Filho-1/+125
2023-01-16rust: prelude: prevent doc inline of external importsFinn Behrens-1/+7
2023-01-16rust: sync: add support for dispatching on Arc and ArcBorrow.Wedson Almeida Filho-2/+19
2023-01-16rust: sync: introduce `UniqueArc`Wedson Almeida Filho-3/+151
2023-01-16rust: sync: allow type of `self` to be `ArcBorrow<T>`Wedson Almeida Filho-0/+23
2023-01-16rust: sync: introduce `ArcBorrow`Wedson Almeida Filho-1/+98
2023-01-16rust: sync: allow coercion from `Arc<T>` to `Arc<U>`Wedson Almeida Filho-1/+28
2023-01-16rust: sync: allow type of `self` to be `Arc<T>` or variantsWedson Almeida Filho-0/+29
2023-01-16rust: sync: add `Arc` for ref-counted allocationsWedson Almeida Filho-0/+168
2023-01-16rust: print: avoid evaluating arguments in `pr_*` macros in `unsafe` blocksMiguel Ojeda-11/+18
2022-12-04rust: types: add `Opaque` typeWedson Almeida Filho-0/+25
2022-12-04rust: types: add `Either` typeWedson Almeida Filho-0/+13
2022-12-04rust: build_assert: add `build_{error,assert}!` macrosGary Guo-0/+88
2022-12-04rust: static_assert: add `static_assert!` macroMiguel Ojeda-0/+37
2022-12-04rust: std_vendor: add `dbg!` macro based on `std`'s oneNiklas Mohrin-1/+166
2022-12-04rust: str: add `fmt!` macroWedson Almeida Filho-0/+6
2022-12-04rust: str: add `CString` typeWedson Almeida Filho-2/+89
2022-12-04rust: str: add `Formatter` typeWedson Almeida Filho-0/+57
2022-12-04rust: str: add `c_str!` macroGary Guo-0/+23
2022-12-04rust: str: add `CStr` unit testsMilan Landaverde-0/+29
2022-12-04rust: str: implement several traits for `CStr`Gary Guo-1/+123
2022-12-04rust: str: add `CStr` typeGary Guo-1/+170
2022-12-04rust: str: add `b_str!` macroGary Guo-0/+21
2022-12-04rust: str: add `BStr` typeGary Guo-0/+5
2022-12-04rust: prelude: add `error::code::*` constant itemsWedson Almeida Filho-1/+1
2022-12-04rust: error: add `From` implementations for `Error`Wedson Almeida Filho-1/+45