aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorBenno Lossin <[email protected]>2025-03-08 11:04:56 +0000
committerMiguel Ojeda <[email protected]>2025-03-16 20:59:19 +0000
commitb321b9385409800859c2be722c6141909c7221b3 (patch)
treef233da5e46bc454bc95d2078d185cdee021fcd94 /scripts/generate_rust_analyzer.py
parentrust: pin-init: remove kernel-crate dependency (diff)
downloadkernel-b321b9385409800859c2be722c6141909c7221b3.tar.gz
kernel-b321b9385409800859c2be722c6141909c7221b3.zip
rust: pin-init: change the way the `paste!` macro is called
Change the paste macro path from `::kernel::macros::paste!` to use `$crate::init::macros::paste!` instead, which links to `::macros::paste!`. This is because the pin-init crate will be a dependency of the kernel, so it itself cannot have the kernel as a dependency. Signed-off-by: Benno Lossin <[email protected]> Reviewed-by: Fiona Behrens <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Tested-by: Andreas Hindborg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions