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/      

安裝過程中選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.其他安操作操提示下載安裝

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM