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

From: Martin Rodriguez Reboredo
Date: Mon Feb 13 2023 - 09:58:05 EST


On Fri, Feb 10, 2023 at 4:26 PM Andrea Righi <andrea.righi@xxxxxxxxxxxxx> wrote:
> nm can use "R" or "r" to show read-only data sections, but
> scripts/is_rust_module.sh can only recognize "r", so with some versions
> of binutils it can fail to detect if a module is a Rust module or not.

As __IS_RUST_MODULE can be a dynamic symbol too this change seems
reasonable to merge.

Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>