Re: [PATCH] rust: fix regexp in scripts/is_rust_module.sh

From: Miguel Ojeda
Date: Mon Feb 13 2023 - 10:46:28 EST


On Mon, Feb 13, 2023 at 4:01 PM Andrea Righi <andrea.righi@xxxxxxxxxxxxx> wrote:
>
> In this way both C and Rust modules can be loaded correctly (at least in
> my tests I'm able load both with CONFIG_DEBUG_INFO_BTF enabled).
>
> I haven't dropped the "RUST depends on !DEBUG_INFO_BTF" yet, but I think
> with this fix is applied we can relax this constraint.

Yeah, but the constraint was there for other reasons, so I got
surprised when I read that in the commit message.

Apparently, Martin cannot load the modules
(https://lore.kernel.org/rust-for-linux/20230213151339.661225-1-yakoyoku@xxxxxxxxx/),
but you can.

Cheers,
Miguel