Re: [PATCH v13 1/1] rust: interop: Add list module for C linked list interface

From: Miguel Ojeda

Date: Wed Mar 18 2026 - 10:49:32 EST


On Wed, Mar 18, 2026 at 3:31 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> In principle this is possible using
>
> #[path = "pci/pci.rs"]
> pub mod pci;

No, I meant supported natively, i.e. without having to write an extra
file everywhere (which could perhaps be simpler as just a symlink
instead).

We could also generate the `mod.rs` on the fly, but that means a clean
tree isn't great for tooling etc.

Cheers,
Miguel