Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf...
[sfrench/cifs-2.6.git] / init / Kconfig
index 44e90b28a30f12e82e7006d46a4daa588c29f15f..d88ffde2bbe17d7939d5e3f16e8125f3e4f48468 100644 (file)
@@ -1939,7 +1939,7 @@ config RUST
        depends on !MODVERSIONS
        depends on !GCC_PLUGINS
        depends on !RANDSTRUCT
-       depends on !DEBUG_INFO_BTF
+       depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
        select CONSTRUCTORS
        help
          Enables Rust support in the kernel.