参考

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/      

安装过程中选C++

 

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.其他安操作操提示下载安装

 

相关文章:

  • 2021-04-06
  • 2021-06-03
  • 2022-12-23
  • 2021-07-19
  • 2021-11-19
  • 2022-01-07
  • 2021-06-03
猜你喜欢
  • 2022-12-23
  • 2021-08-10
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-04-12
  • 2021-07-10
相关资源
相似解决方案