41 lines · plain
1# SPDX-License-Identifier: GPL-2.02 3menuconfig SAMPLES_RUST4 bool "Rust samples"5 depends on RUST6 help7 You can build sample Rust kernel code here.8 9 If unsure, say N.10 11if SAMPLES_RUST12 13config SAMPLE_RUST_MINIMAL14 tristate "Minimal"15 help16 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_PRINT24 tristate "Printing macros"25 help26 This option builds the Rust printing macros sample.27 28 To compile this as a module, choose M here:29 the module will be called rust_print.30 31 If unsure, say N.32 33config SAMPLE_RUST_HOSTPROGS34 bool "Host programs"35 help36 This option builds the Rust host program samples.37 38 If unsure, say N.39 40endif # SAMPLES_RUST41