Re: [PATCH 2/3] kbuild: rust: apply `CONFIG_WERROR` to all Rust targets

From: Alice Ryhl
Date: Mon May 20 2024 - 05:43:55 EST


On Sun, May 19, 2024 at 11:12 PM Miguel Ojeda <ojeda@xxxxxxxxxx> wrote:
>
> Make all Rust code (i.e. not just kernel code) respect `CONFIG_WERROR`,
> so that we keep everything warning clean.
>
> In particular, this affects targets in `rust/` (`RUSTDOC H`, `RUSTC TL`,
> `RUSTDOC T`, `RUSTC T` and `RUSTC P`), plus host programs and any others
> we may add later.
>
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>