Skip to content

Commit

Permalink
lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW
Browse files Browse the repository at this point in the history
Just a grammar fix in lib/Kconfig.debug, under the config option
RUST_BUILD_ASSERT_ALLOW.

Reported-by: Miguel Ojeda <ojeda@kernel.org>
Closes: #1006
Fixes: ecaa6dd ("rust: add `build_error` crate")
Signed-off-by: Timo Grautstueck <timo.grautstueck@web.de>
Link: https://lore.kernel.org/r/20241006140244.5509-1-timo.grautstueck@web.de
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
  • Loading branch information
Timgrau authored and ojeda committed Oct 7, 2024
1 parent 8cf0b93 commit ab88514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -3060,7 +3060,7 @@ config RUST_BUILD_ASSERT_ALLOW
bool "Allow unoptimized build-time assertions"
depends on RUST
help
Controls how are `build_error!` and `build_assert!` handled during build.
Controls how `build_error!` and `build_assert!` are handled during the build.

If calls to them exist in the binary, it may indicate a violated invariant
or that the optimizer failed to verify the invariant during compilation.
Expand Down

0 comments on commit ab88514

Please sign in to comment.