Re: [PATCH 2/3] rust: miscdevice: Add additional data to MiscDeviceRegistration

From: Miguel Ojeda
Date: Mon Jan 27 2025 - 08:43:01 EST


On Mon, Jan 27, 2025 at 2:33 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> You can expand Rust macros by invoking make on the file with an .i
> extension, in exactly the same way as you expand C macros.

`.i` for C, `.rsi` for Rust.

Also, Christian: the Rust one currently it works for leaves, e.g.
drivers and samples:

make LLVM=1 samples/rust/rust_minimal.rsi

Eventually we will add support for others.

I hope that helps!

Cheers,
Miguel