1. 程式人生 > >Eclipse環境安裝rust

Eclipse環境安裝rust

path bug document download com dev rust deb 環境

參考

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