[PATCH 07/16] UBUNTU: SAUCE: allows to enable Rust with modversions

Andrea Righi andrea.righi at canonical.com
Thu Mar 16 09:05:20 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2007654

The following commit allows to relax the constraint !CONFIG_MODVERSIONS
with CONFIG_RUST enabled:

 20e01f8abba2 ("UBUNTU: SAUCE: modpost: support arbitrary symbol length in modversion")

Signed-off-by: Andrea Righi <andrea.righi at canonical.com>
---
 init/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/init/Kconfig b/init/Kconfig
index fea68d967df6..4a1d2bfdcaad 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1945,7 +1945,6 @@ config RUST
 	bool "Rust support"
 	depends on HAVE_RUST
 	depends on RUST_IS_AVAILABLE
-	depends on !MODVERSIONS
 	depends on !GCC_PLUGINS
 	depends on !RANDSTRUCT
 	depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
-- 
2.39.2




More information about the kernel-team mailing list