首页 > 代码库 > Eclipse环境安装rust
Eclipse环境安装rust
参考
https://rustdt.github.io/
https://github.com/RustDT/RustDT/blob/latest/documentation/UserGuide.md#user-guide
https://stackoverflow.com/questions/33570021/how-to-set-up-gdb-for-debugging-rust-programs-in-windows/33570022#33570022
1.安装RUST 语言工具
在https://www.rust-lang.org/zh-CN/other-installers.html下
rust-1.18.0-x86_64-pc-windows-gnu.msi
执行cargo install racer
2.下载tdm-gcc
http://tdm-gcc.tdragon.net/下的
tdm64-gcc-5.1.0-2.exe
安在装 C:\TDM-GCC-64\
3.下载eclipse
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/lunasr2
4.打开Eclipse,选择 Help -> Install New Software
,安装插件。插件地址:https://rustdt.github.io/releases/
5.在run configure 中 build command 下输入
${CARGO_TOOL_PATH} build
6.在debug configure 中 debugger 中输入
C:\TDM-GCC-64\gdb64\bin\gdb.exe
C:\TDM-GCC-64\gdb64\bin\gdbinit
7.下载rust源代码
https://www.rust-lang.org/zh-CN/other-installers.html
8.其他安操作操提示下载安装
Eclipse环境安装rust