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

Andreas Hindborg
2025-01-10T13:33:24Z

Miguel Ojeda <ojeda@kernel.org> writes:

> 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@kernel.org>

Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Tested-by: Andreas Hindborg <a.hindborg@kernel.org>

Best regards,
Andreas Hindborg