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_MISC_DEVICE
24 tristate "Misc device"
26 This option builds the Rust misc device.
28 To compile this as a module, choose M here:
29 the module will be called rust_misc_device.
33 config SAMPLE_RUST_PRINT
34 tristate "Printing macros"
36 This option builds the Rust printing macros sample.
38 To compile this as a module, choose M here:
39 the module will be called rust_print.
43 config SAMPLE_RUST_DRIVER_PCI
47 This option builds the Rust PCI driver sample.
49 To compile this as a module, choose M here:
50 the module will be called driver_pci.
54 config SAMPLE_RUST_DRIVER_PLATFORM
55 tristate "Platform Driver"
57 This option builds the Rust Platform driver sample.
59 To compile this as a module, choose M here:
60 the module will be called rust_driver_platform.
64 config SAMPLE_RUST_DRIVER_FAUX
65 tristate "Faux Driver"
67 This option builds the Rust Faux driver sample.
69 To compile this as a module, choose M here:
70 the module will be called rust_driver_faux.
74 config SAMPLE_RUST_HOSTPROGS
77 This option builds the Rust host program samples.