mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-05 13:33:51 +00:00
26 lines
786 B
Plaintext
26 lines
786 B
Plaintext
menuconfig RT_USING_RUST
|
|
bool "Enable Rust component support"
|
|
default n
|
|
help
|
|
Enable Rust programming language support for RT-Thread.
|
|
This allows you to write RT-Thread components using Rust.
|
|
|
|
if RT_USING_RUST
|
|
config RT_RUST_CORE
|
|
bool "Enable Rust Core Library"
|
|
default y
|
|
config RUST_DEBUG_BUILD
|
|
bool "Build Rust code in debug mode"
|
|
default n
|
|
help
|
|
Build Rust code with debug symbols and without optimizations.
|
|
This increases binary size but helps with debugging.
|
|
config RUST_INIT_COMPONENT
|
|
bool "Auto-initialize Rust component"
|
|
default y
|
|
help
|
|
Automatically initialize Rust component during RT-Thread startup.
|
|
|
|
rsource "examples/Kconfig"
|
|
|
|
endif |