rtt_rust icon indicating copy to clipboard operation
rtt_rust copied to clipboard

使用rust开发rt-thread app

Results 6 rtt_rust issues
Sort by recently updated
recently updated
newest added

**编译环境:** x86_64 windows10 env (rt-thread提供的env-windows集成环境,使用python2.7) **出现错误**: > Rust build: rust toolchains error Rust build: run cmd 'rustc --print sysroot' failed! Exception: RUST BUILD FATAL ERROR!!!: 定位错误,出现在rust_build.py 193行的try代码块中,使用了切片方式来去除`rustc_path`末尾的换行符 **修正**:将切片方式修改为使用strip函数 ``` #...

在 RT-Thread/rt-thread 中使用 menuconfig 对 rtt_rust 进行拉取后出现编译错误 ![image](https://github.com/rust-for-rtthread/rtt_rust/assets/98676202/58c2d535-8efe-46d2-ad7b-73c54c1265a8) 发现是文件路径有问题,所以进行了修改,将 Sconscript 中的 PrebuildRust 函数最后一个参数由 `RTT_Root + "/../applications"` 修改为 `cwd + "/../applications"`

涉及构建脚本的修改: 1. 识别application的位置

enhancement