Thread (1 message) 1 message, 1 author, 2025-01-10

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

From: Andreas Hindborg <a.hindborg@kernel.org>
Date: 2025-01-10 13:33:15
Also in: linux-kbuild, linux-patches, lkml

Miguel Ojeda [off-list ref] 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@kernel.org>
Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Tested-by: Andreas Hindborg <a.hindborg@kernel.org>


Best regards,
Andreas Hindborg

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help