xref: /openbmc/linux/samples/rust/Kconfig (revision 0352f880)
1# SPDX-License-Identifier: GPL-2.0
2
3menuconfig SAMPLES_RUST
4	bool "Rust samples"
5	depends on RUST
6	help
7	  You can build sample Rust kernel code here.
8
9	  If unsure, say N.
10
11if SAMPLES_RUST
12
13config SAMPLE_RUST_MINIMAL
14	tristate "Minimal"
15	help
16	  This option builds the Rust minimal module sample.
17
18	  To compile this as a module, choose M here:
19	  the module will be called rust_minimal.
20
21	  If unsure, say N.
22
23config SAMPLE_RUST_HOSTPROGS
24	bool "Host programs"
25	help
26	  This option builds the Rust host program samples.
27
28	  If unsure, say N.
29
30endif # SAMPLES_RUST
31