On Wed Mar 18, 2026 at 3:31 PM CET, Alice Ryhl wrote:
> On Wed, Mar 18, 2026 at 3:21 PM Miguel Ojeda
> <[email protected]> wrote:
>> [*] I would have preferred a middle ground like  modules being inside
>> but repeating the folder name, e.g. `.../pci/pci.rs`, but I doubt that
>> will ever be supported upstream since one probably wants to support
>> the other ways at the same time.

I very much like this, because, as you said, the pci/ vs. pci.rs completion
issue is indeed annoying me a bit. :)

> In principle this is possible using
>
> #[path = "pci/pci.rs"]
> pub mod pci;

Not exactly pretty, but if it works I think it's worth.

Reply via email to