]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kbuild: rust: move `-Dwarnings` handling to `Makefile.extrawarn`
authorMiguel Ojeda <ojeda@kernel.org>
Thu, 14 Aug 2025 10:14:43 +0000 (12:14 +0200)
committerNathan Chancellor <nathan@kernel.org>
Thu, 14 Aug 2025 18:21:12 +0000 (11:21 -0700)
commit592b571f20c5b905c47a1370210456f9f90ce04f
treeeaf1d7abe235324771f0f35e7247fea4e06eea61
parente7a10929c574cf30981a8e19ef39bc35e63e8b46
kbuild: rust: move `-Dwarnings` handling to `Makefile.extrawarn`

Following commit e88ca24319e4 ("kbuild: consolidate warning flags
in scripts/Makefile.extrawarn"), move `-Dwarnings` handling into
`Makefile.extrawarn` like C's `-Werror`.

No functional change intended.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://lore.kernel.org/r/20250814-kbuild-werror-v2-3-c01e596309d2@linutronix.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Makefile
scripts/Makefile.extrawarn