Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW

Just a grammar fix in lib/Kconfig.debug, under the config option
RUST_BUILD_ASSERT_ALLOW.

Reported-by: Miguel Ojeda <ojeda@kernel.org>
Closes: https://github.com/Rust-for-Linux/linux/issues/1006
Fixes: ecaa6ddff2fd ("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>

authored by

Timo Grautstueck and committed by
Miguel Ojeda
ab885143 8cf0b939

+1 -1
+1 -1
lib/Kconfig.debug
··· 3060 3060 bool "Allow unoptimized build-time assertions" 3061 3061 depends on RUST 3062 3062 help 3063 - Controls how are `build_error!` and `build_assert!` handled during build. 3063 + Controls how `build_error!` and `build_assert!` are handled during the build. 3064 3064 3065 3065 If calls to them exist in the binary, it may indicate a violated invariant 3066 3066 or that the optimizer failed to verify the invariant during compilation.