Re: [PATCH 3/3] kbuild: rust: support `W=e` for Rust

From: Alice Ryhl
Date: Mon May 20 2024 - 05:44:33 EST


On Sun, May 19, 2024 at 11:13 PM Miguel Ojeda <ojeda@xxxxxxxxxx> wrote:
>
> With `W=e`, kernel C targets error out on warnings.
>
> Add support for the same feature for Rust code, but take the opportunity
> to apply it for every Rust target (i.e. not just kernel code), so that
> it behaves like having set `CONFIG_WERROR`.
>
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>