Skip to content

Commit 637e518

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 cb0a571 commit 637e518

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
@@ -1900,8 +1900,8 @@ config RUST
19001900
depends on RUST_IS_AVAILABLE
19011901
depends on !CFI_CLANG
19021902
depends on !MODVERSIONS
1903-
depends on !GCC_PLUGINS
1904-
depends on !RANDSTRUCT
1903+
depends on !GCC_PLUGIN_RANDSTRUCT
1904+
depends on RANDSTRUCT_NONE
19051905
depends on !SHADOW_CALL_STACK
19061906
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
19071907
help

0 commit comments

Comments
 (0)