[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240731032030.2847151-1-neal@gompa.dev>
Date: Tue, 30 Jul 2024 23:20:09 -0400
From: Neal Gompa <neal@...pa.dev>
To: rust-for-linux@...r.kernel.org
Cc: asahi@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Miguel Ojeda <ojeda@...nel.org>,
Hector Martin <marcan@...can.st>,
Janne Grunau <j@...nau.net>,
Asahi Lina <lina@...hilina.net>,
Neal Gompa <neal@...pa.dev>
Subject: [PATCH] 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@...pa.dev>
---
init/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/init/Kconfig b/init/Kconfig
index a465ea9525bd..ff4ecfa62569 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1900,8 +1900,8 @@ config RUST
depends on RUST_IS_AVAILABLE
depends on !CFI_CLANG
depends on !MODVERSIONS
- depends on !GCC_PLUGINS
- depends on !RANDSTRUCT
+ depends on !GCC_PLUGIN_RANDSTRUCT
+ depends on RANDSTRUCT_NONE
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
help
Enables Rust support in the kernel.
--
2.45.2
Powered by blists - more mailing lists