summaryrefslogtreecommitdiff
path: root/rust/macros
AgeCommit message (Expand)AuthorFilesLines
2025-01-28Merge tag 'driver-core-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+4
2025-01-10rust: add `build_error!` to the preludeMiguel Ojeda1-4/+4
2025-01-10rust: use the `build_error!` macro, not the hidden functionMiguel Ojeda1-4/+4
2024-12-20rust: module: add trait `ModuleMetadata`Danilo Krummrich1-0/+4
2024-11-29Merge tag 'char-misc-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-16/+12
2024-11-11rust: use custom FFI integer typesGary Guo1-4/+4
2024-11-05rust: introduce `InPlaceModule`Wedson Almeida Filho1-16/+12
2024-11-02rust: macros: enable the rest of the testsEthan D. Twardy1-9/+50
2024-11-02rust: macros: enable paste! use from macro_rules!Ethan D. Twardy2-11/+46
2024-11-02rust: enable macros::module! testsEthan D. Twardy1-15/+10
2024-11-02rust: kbuild: expand rusttest target for macrosEthan D. Twardy1-1/+1
2024-10-21rust: macros: fix documentation of the paste! macroPaolo Bonzini1-1/+1
2024-10-16rust: treewide: switch to the kernel `Vec` typeDanilo Krummrich1-3/+3
2024-10-15rust: treewide: switch to our kernel `Box` typeDanilo Krummrich1-3/+3
2024-09-25Merge tag 'rust-6.12' of https://github.com/Rust-for-Linux/linuxLinus Torvalds2-0/+16
2024-09-05kbuild: rust: replace proc macros dependency on `core.o` with the version textMiguel Ojeda1-0/+4
2024-09-02rust: macros: provide correct provenance when constructing THIS_MODULEBoqun Feng1-1/+5
2024-08-19rust: module: add static pointer to `{init,cleanup}_module()`Miguel Ojeda1-0/+12
2024-07-29rust: macros: indent list item in `module!`'s docsMiguel Ojeda1-1/+1
2024-07-10rust: macros: indent list item in `paste!`'s docsMiguel Ojeda1-1/+1
2024-07-08rust: add 'firmware' field support to module! macroFUJITA Tomonori2-2/+48
2024-07-08rust: fix datatype in docs for `module` macro argumentsAswin Unnikrishnan1-5/+5
2024-07-08rust: add example for `alias` argument in `module` macro documentationAswin Unnikrishnan1-0/+1
2024-05-14Merge tag 'rust-6.10' of https://github.com/Rust-for-Linux/linuxLinus Torvalds3-30/+95
2024-04-25rust: remove `params` from `module` macro exampleAswin Unnikrishnan1-12/+0
2024-04-16rust: macros: fix soundness issue in `module!` macroBenno Lossin1-75/+115
2024-04-07rust: macros: allow generic parameter default values in `#[pin_data]`Benno Lossin2-2/+2
2024-04-07rust: macros: add `decl_generics` to `parse_generics()`Benno Lossin3-30/+95
2024-02-25rust: module: place generated init_module() function in .init.textThomas Bertschinger1-1/+6
2023-12-21rust: support `srctree`-relative linksMiguel Ojeda1-1/+1
2023-12-14rust: macros: improve `#[vtable]` documentationBenno Lossin1-7/+31
2023-12-14rust: macros: update 'paste!' macro to accept string literalsTrevor Gross2-3/+29
2023-08-29Merge tag 'rust-6.6' of https://github.com/Rust-for-Linux/linuxLinus Torvalds5-1/+298
2023-08-21rust: add derive macro for `Zeroable`Benno Lossin3-0/+104
2023-08-10btf, scripts: rust: drop is_rust_module.shAndrea Righi1-1/+1
2023-08-10rust: macros: add `paste!` proc macroGary Guo2-0/+193
2023-08-09rust: macros: vtable: fix `HAS_*` redefinition (`gen_const_name`)Qingsong Chen1-0/+1
2023-05-31rust: macros: replace Self with the concrete type in #[pin_data]Benno Lossin1-4/+104
2023-05-31rust: macros: refactor generics parsing of `#[pin_data]` into its own functionBenno Lossin2-62/+94
2023-05-31rust: macros: fix usage of `#[allow]` in `quote!`Benno Lossin1-6/+8
2023-04-12rust: init: add `PinnedDrop` trait and macrosBenno Lossin2-0/+98
2023-04-12rust: init: add initialization macrosBenno Lossin3-2/+108
2023-04-12rust: macros: add `quote!` macroGary Guo2-0/+147
2023-04-12rust: error: Rename to_kernel_errno() -> to_errno()Asahi Lina1-1/+1
2023-04-11rust: macros: Allow specifying multiple module aliasesAsahi Lina2-6/+34
2022-12-04rust: macros: take string literals in `module!`Gary Guo3-17/+29
2022-12-04rust: macros: add `#[vtable]` proc macroGary Guo2-0/+147
2022-12-04rust: macros: add `concat_idents!` proc macroBjörn Roy Baron2-0/+67
2022-09-28rust: add `macros` crateMiguel Ojeda3-0/+405