Skip to content

Commit

Permalink
Merge pull request torvalds#524 from ojeda/kconfig-werror
Browse files Browse the repository at this point in the history
Kconfig: document `CONFIG_WERROR` applies to Rust too
  • Loading branch information
ojeda authored Oct 19, 2021
2 parents 7ab59bf + 1f433a4 commit 17e8499
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ config WERROR
default COMPILE_TEST
help
A kernel build should not cause any compiler warnings, and this
enables the '-Werror' flag to enforce that rule by default.
enables the '-Werror' (for C) and '-Dwarnings' (for Rust) flags
to enforce that rule by default.

However, if you have a new (or very old) compiler with odd and
unusual warnings, or you have some architecture with problems,
Expand Down

0 comments on commit 17e8499

Please sign in to comment.