Kconfig 792 B

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