Re: [PATCH 13/22] rust: pin-init: change the way the `paste!` macro is called

From: Fiona Behrens
Date: Wed Mar 05 2025 - 04:28:39 EST


Benno Lossin <benno.lossin@xxxxxxxxx> writes:

> 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 <benno.lossin@xxxxxxxxx>

Reviewed-by: Fiona Behrens <me@xxxxxxxxxx>