Re: [PATCH 3/3] kbuild: rust: support `W=e` for Rust
From: Andreas Hindborg
Date: Fri Jan 10 2025 - 08:34:25 EST
Miguel Ojeda <ojeda@xxxxxxxxxx> writes:
> 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: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
Tested-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
Best regards,
Andreas Hindborg