Skip to content

Commit 8bcdbd7

Browse files
Conan-Kudomarcan
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 275492d commit 8bcdbd7

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
@@ -1892,9 +1892,9 @@ config RUST
18921892
bool "Rust support"
18931893
depends on HAVE_RUST
18941894
depends on RUST_IS_AVAILABLE
1895+
depends on RANDSTRUCT_NONE
18951896
depends on !MODVERSIONS
1896-
depends on !GCC_PLUGINS
1897-
depends on !RANDSTRUCT
1897+
depends on !GCC_PLUGIN_RANDSTRUCT
18981898
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
18991899
select CONSTRUCTORS
19001900
help

0 commit comments

Comments
 (0)