1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 menuconfig SAMPLES_RUST 3 menuconfig SAMPLES_RUST 4 bool "Rust samples" 4 bool "Rust samples" 5 depends on RUST 5 depends on RUST 6 help 6 help 7 You can build sample Rust kernel cod 7 You can build sample Rust kernel code here. 8 8 9 If unsure, say N. 9 If unsure, say N. 10 10 11 if SAMPLES_RUST 11 if SAMPLES_RUST 12 12 13 config SAMPLE_RUST_MINIMAL 13 config SAMPLE_RUST_MINIMAL 14 tristate "Minimal" 14 tristate "Minimal" 15 help 15 help 16 This option builds the Rust minimal 16 This option builds the Rust minimal module sample. 17 17 18 To compile this as a module, choose 18 To compile this as a module, choose M here: 19 the module will be called rust_minim 19 the module will be called rust_minimal. 20 20 21 If unsure, say N. 21 If unsure, say N. 22 22 23 config SAMPLE_RUST_PRINT << 24 tristate "Printing macros" << 25 help << 26 This option builds the Rust printing << 27 << 28 To compile this as a module, choose << 29 the module will be called rust_print << 30 << 31 If unsure, say N. << 32 << 33 config SAMPLE_RUST_HOSTPROGS 23 config SAMPLE_RUST_HOSTPROGS 34 bool "Host programs" 24 bool "Host programs" 35 help 25 help 36 This option builds the Rust host pro 26 This option builds the Rust host program samples. 37 27 38 If unsure, say N. 28 If unsure, say N. 39 29 40 endif # SAMPLES_RUST 30 endif # SAMPLES_RUST
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.