Kconfig 786 B

1234567891011121314151617181920212223242526
  1. menuconfig RT_USING_RUST
  2. bool "Enable Rust component support"
  3. default n
  4. help
  5. Enable Rust programming language support for RT-Thread.
  6. This allows you to write RT-Thread components using Rust.
  7. if RT_USING_RUST
  8. config RT_RUST_CORE
  9. bool "Enable Rust Core Library"
  10. default y
  11. config RUST_DEBUG_BUILD
  12. bool "Build Rust code in debug mode"
  13. default n
  14. help
  15. Build Rust code with debug symbols and without optimizations.
  16. This increases binary size but helps with debugging.
  17. config RUST_INIT_COMPONENT
  18. bool "Auto-initialize Rust component"
  19. default y
  20. help
  21. Automatically initialize Rust component during RT-Thread startup.
  22. rsource "examples/Kconfig"
  23. endif