[PATCH pve-kernel 2/3] d/rules: explicitly enable CONFIG_RUST

Stoiko Ivanov
2026-02-27T15:21:40Z

currently enabling depends on the presence of the build-dependencies
for rust in the linux kernel [0]. Make the choice explicit as to not
be surprised in case the defaults change upstream.
AFAICT - this is determined by:
`debian.master/config/annotations` in our ubuntu-kernel submodule.

[0] https://docs.kernel.org/rust/quick-start.html

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
debian/rules | 1 +
1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 9c265fd98567..0da03814c8a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -106,6 +106,7 @@ PMX_CONFIG_OPTS= \
-d CONFIG_N_GSM \
-d UBSAN_BOUNDS \
-d KVM_INTEL_PROVE_VE \
+-e CONFIG_RUST \

debian/control: $(wildcard debian/*.in)
--
2.47.3