Skip to content

Commit 250ac97

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 1b0ceb5 commit 250ac97

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
@@ -1944,9 +1944,9 @@ config RUST
19441944
bool "Rust support"
19451945
depends on HAVE_RUST
19461946
depends on RUST_IS_AVAILABLE
1947+
depends on RANDSTRUCT_NONE
19471948
depends on !MODVERSIONS
1948-
depends on !GCC_PLUGINS
1949-
depends on !RANDSTRUCT
1949+
depends on !GCC_PLUGIN_RANDSTRUCT
19501950
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
19511951
select CONSTRUCTORS
19521952
help

0 commit comments

Comments
 (0)