Skip to content

Commit 3fd1ba2

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 0f08a28 commit 3fd1ba2

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
@@ -1882,9 +1882,9 @@ config RUST
18821882
bool "Rust support"
18831883
depends on HAVE_RUST
18841884
depends on RUST_IS_AVAILABLE
1885+
depends on RANDSTRUCT_NONE
18851886
depends on !MODVERSIONS
1886-
depends on !GCC_PLUGINS
1887-
depends on !RANDSTRUCT
1887+
depends on !GCC_PLUGIN_RANDSTRUCT
18881888
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
18891889
select CONSTRUCTORS
18901890
help

0 commit comments

Comments
 (0)