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