UPSTREAM: rust: add kunitconfig

The kunitconfig file in a directory is used by kunit.py to enable all
necessary kernel configurations to run the tests in that subdirectory.
Add such a file for rust/.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: David Gow <davidgow@google.com>
Link: https://lore.kernel.org/r/20250208-rust-kunit-v1-2-94a026be6d72@weissschuh.net
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

Bug: 414994413
(cherry picked from commit fb625227d540ddead4d21813410a116e9452d232)
Change-Id: I7bdfb81c4640845cd4340d4644efd6acd51c37e0
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
This commit is contained in:
Thomas Weißschuh
2025-02-08 14:31:15 +01:00
committed by Matthew Maurer
parent 615a5b6d7e
commit 1b461575a8

3
rust/.kunitconfig Normal file
View File

@@ -0,0 +1,3 @@
CONFIG_KUNIT=y
CONFIG_RUST=y
CONFIG_RUST_KERNEL_DOCTESTS=y