Commit ab885143 authored by Timo Grautstueck's avatar Timo Grautstueck Committed by Miguel Ojeda
Browse files

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: default avatarMiguel Ojeda <ojeda@kernel.org>
Closes: https://github.com/Rust-for-Linux/linux/issues/1006


Fixes: ecaa6ddf ("rust: add `build_error` crate")
Signed-off-by: default avatarTimo Grautstueck <timo.grautstueck@web.de>
Link: https://lore.kernel.org/r/20241006140244.5509-1-timo.grautstueck@web.de


Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 8cf0b939
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.