summaryrefslogtreecommitdiff
path: root/rust
Commit message (Expand)AuthorAgeFilesLines
* 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
| * | rust: sync: add `Arc` for ref-counted allocationsWedson Almeida Filho2023-01-166-0/+189
| * | rust: compiler_builtins: make stubs non-globalGary Guo2023-01-162-1/+18
| * | rust: alloc: remove the `borrow` module (`ToOwned`, `Cow`)Miguel Ojeda2023-01-164-499/+6
| |/
* | rust: print: avoid evaluating arguments in `pr_*` macros in `unsafe` blocksMiguel Ojeda2023-01-161-11/+18
|/
* rust: types: add `Opaque` typeWedson Almeida Filho2022-12-041-0/+25
* rust: types: add `Either` typeWedson Almeida Filho2022-12-042-0/+13
* rust: build_assert: add `build_{error,assert}!` macrosGary Guo2022-12-043-0/+88
* rust: add `build_error` crateGary Guo2022-12-043-5/+53
* rust: static_assert: add `static_assert!` macroMiguel Ojeda2022-12-043-0/+37
* rust: std_vendor: add `dbg!` macro based on `std`'s oneNiklas Mohrin2022-12-043-1/+166
* rust: str: add `fmt!` macroWedson Almeida Filho2022-12-041-0/+6
* rust: str: add `CString` typeWedson Almeida Filho2022-12-041-2/+89
* rust: str: add `Formatter` typeWedson Almeida Filho2022-12-041-0/+57
* rust: str: add `c_str!` macroGary Guo2022-12-041-0/+23