Skip to content

Commit 2f22582

Browse files
Conan-Kudojannau
authored andcommitted
init/Kconfig: Only block on RANDSTRUCT for RUST
When enabling Rust in the kernel, we only need to block on the RANDSTRUCT feature and GCC plugin. The rest of the GCC plugins are reasonably safe to enable. Signed-off-by: Neal Gompa <neal@gompa.dev>
1 parent 662ef82 commit 2f22582

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

init/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,8 +1901,8 @@ config RUST
19011901
depends on RUST_IS_AVAILABLE
19021902
depends on !CFI_CLANG
19031903
depends on !MODVERSIONS
1904-
depends on !GCC_PLUGINS
1905-
depends on !RANDSTRUCT
1904+
depends on !GCC_PLUGIN_RANDSTRUCT
1905+
depends on RANDSTRUCT_NONE
19061906
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
19071907
help
19081908
Enables Rust support in the kernel.

0 commit comments

Comments
 (0)