summaryrefslogtreecommitdiff
path: root/rust/macros
AgeCommit message (Expand)AuthorFilesLines
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