[PATCH v8 25/31] configs: add `rust` config

From: Miguel Ojeda
Date: Mon Aug 01 2022 - 21:57:41 EST


From: Wedson Almeida Filho <wedsonaf@xxxxxxxxxx>

This allows us to enable Rust while creating a configuration file, for
example, we can run `make defconfig rust.config` from the command line
to create the default configuration plus enable Rust.

Co-developed-by: Alex Gaynor <alex.gaynor@xxxxxxxxx>
Signed-off-by: Alex Gaynor <alex.gaynor@xxxxxxxxx>
Signed-off-by: Wedson Almeida Filho <wedsonaf@xxxxxxxxxx>
Co-developed-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
---
kernel/configs/rust.config | 1 +
1 file changed, 1 insertion(+)
create mode 100644 kernel/configs/rust.config

diff --git a/kernel/configs/rust.config b/kernel/configs/rust.config
new file mode 100644
index 000000000000..38a7c5362c9c
--- /dev/null
+++ b/kernel/configs/rust.config
@@ -0,0 +1 @@
+CONFIG_RUST=y
--
2.37.1