1 # SPDX-License-Identifier: GPL-2.0
3 menuconfig SAMPLES_RUST
7 You can build sample Rust kernel code here.
13 config SAMPLE_RUST_MINIMAL
16 This option builds the Rust minimal module sample.
18 To compile this as a module, choose M here:
19 the module will be called rust_minimal.
23 config SAMPLE_RUST_PRINT
24 tristate "Printing macros"
26 This option builds the Rust printing macros sample.
28 To compile this as a module, choose M here:
29 the module will be called rust_print.
33 config SAMPLE_RUST_HOSTPROGS
36 This option builds the Rust host program samples.