Skip to content

Commit 4689bad

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 ec49839 commit 4689bad

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
@@ -1885,9 +1885,9 @@ config RUST
18851885
bool "Rust support"
18861886
depends on HAVE_RUST
18871887
depends on RUST_IS_AVAILABLE
1888+
depends on RANDSTRUCT_NONE
18881889
depends on !MODVERSIONS
1889-
depends on !GCC_PLUGINS
1890-
depends on !RANDSTRUCT
1890+
depends on !GCC_PLUGIN_RANDSTRUCT
18911891
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
18921892
select CONSTRUCTORS
18931893
help

0 commit comments

Comments
 (0)