summaryrefslogtreecommitdiffstats
path: root/rust
Commit message (Expand)AuthorAgeFilesLines
* rust: sync: introduce `LockClassKey`Wedson Almeida Filho2023-04-211-0/+45
* rust: init: broaden the blanket impl of `Init`Benno Lossin2023-04-211-2/+2
* rust: sync: add functions for initializing `UniqueArc<MaybeUninit<T>>`Benno Lossin2023-04-121-0/+24
* rust: sync: reduce stack usage of `UniqueArc::try_new_uninit`Benno Lossin2023-04-122-4/+13
* rust: types: add `Opaque::ffi_init`Benno Lossin2023-04-122-0/+29
* rust: prelude: add `pin-init` API items to preludeBenno Lossin2023-04-121-1/+5
* rust: init: add `Zeroable` trait and `init::zeroed` functionBenno Lossin2023-04-121-2/+95
* rust: init: add `stack_pin_init!` macroBenno Lossin2023-04-122-6/+191
* rust: init: add `PinnedDrop` trait and macrosBenno Lossin2023-04-125-0/+488
* rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointersBenno Lossin2023-04-122-13/+139
* rust: init: add initialization macrosBenno Lossin2023-04-126-7/+1747
* rust: add pin-init API coreBenno Lossin2023-04-123-0/+226
* rust: types: add `Opaque::raw_get`Benno Lossin2023-04-121-0/+8
* rust: sync: change error type of constructor functionsBenno Lossin2023-04-121-4/+4
* rust: macros: add `quote!` macroGary Guo2023-04-122-0/+147
* rust: enable the `pin_macro` featureBenno Lossin2023-04-121-0/+1
* rust: error: Add from_result() helperWedson Almeida Filho2023-04-121-0/+39
* rust: error: Add a helper to convert a C ERR_PTR to a `Result`Sven Van Asbroeck2023-04-122-1/+61
* rust: error: Add to_result() helperWedson Almeida Filho2023-04-121-1/+10
* rust: error: Add Error::from_errno{_unchecked}()Miguel Ojeda2023-04-121-0/+32
* rust: error: Add Error::to_ptr()Asahi Lina2023-04-122-0/+14
* rust: error: Rename to_kernel_errno() -> to_errno()Asahi Lina2023-04-122-2/+2
* rust: sync: arc: Add UniqueArc<MaybeUninit<T>::assume_init()Asahi Lina2023-04-121-0/+11
* rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast()Asahi Lina2023-04-102-0/+30
* rust: macros: Allow specifying multiple module aliasesAsahi Lina2023-04-102-6/+34
* rust: alloc: vec: Add some try_* methods we needMiguel Ojeda2023-04-102-3/+219
* rust: Add SPDX headers to alloc::vec::{spec_extend, set_len_on_drop}Asahi Lina2023-04-102-0/+4
* rust: Import upstream `alloc::vec::spec_extend` moduleAsahi Lina2023-04-101-0/+87
* rust: Import upstream `alloc::vec::set_len_on_drop` moduleAsahi Lina2023-04-101-0/+28
* rust: Enable the new_uninit feature for kernel and driver cratesAsahi Lina2023-04-101-0/+1
* rust: sync: impl {Debug,Display} for {Unique,}ArcBoqun Feng2023-04-101-0/+25
* Merge tag 'rust-fixes-6.3-rc1' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2023-03-031-0/+1
|\
| * rust: bindgen: Add `alt_instr` as opaque typeArnaldo Carvalho de Melo2023-03-021-0/+1
* | Merge tag 'kbuild-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds2023-02-262-20/+8
|\ \
| * | kbuild: rust: move rust/target.json to scripts/Masahiro Yamada2023-01-222-10/+1
| * | kbuild: remove sed commands after rustc rulesMasahiro Yamada2023-01-221-4/+2
| * | kbuild: specify output names separately for each emission type from rustcMasahiro Yamada2023-01-221-6/+5
* | | Merge tag 'rust-6.3' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2023-02-2013-502/+806
|\ \ \ | |_|/ |/| |
| * | rust: types: implement `ForeignOwnable` for `Arc<T>`Wedson Almeida Filho2023-02-071-1/+31
| * | rust: types: implement `ForeignOwnable` for the unit typeWedson Almeida Filho2023-02-011-0/+12
| * | rust: types: implement `ForeignOwnable` for `Box<T>`Wedson Almeida Filho2023-02-011-0/+23
| * | rust: types: introduce `ForeignOwnable`Wedson Almeida Filho2023-02-012-0/+55
| * | rust: types: introduce `ScopeGuard`Wedson Almeida Filho2023-02-011-1/+125
| * | rust: prelude: prevent doc inline of external importsFinn Behrens2023-01-161-1/+7
| * | rust: sync: add support for dispatching on Arc and ArcBorrow.Wedson Almeida Filho2023-01-162-2/+19
| * | rust: sync: introduce `UniqueArc`Wedson Almeida Filho2023-01-162-3/+151
| * | rust: sync: allow type of `self` to be `ArcBorrow<T>`Wedson Almeida Filho2023-01-161-0/+23
| * | rust: sync: introduce `ArcBorrow`Wedson Almeida Filho2023-01-162-1/+98
| * | rust: sync: allow coercion from `Arc<T>` to `Arc<U>`Wedson Almeida Filho2023-01-162-1/+28
| * | rust: sync: allow type of `self` to be `Arc<T>` or variantsWedson Almeida Filho2023-01-162-0/+29