日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

win10上Intelligent IDEA配置和编译rust的quiche库

發布時間:2023/12/13 综合教程 32 生活家
生活随笔 收集整理的這篇文章主要介紹了 win10上Intelligent IDEA配置和编译rust的quiche库 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

rust的IDEA開發環境配置

IntelliJ Rust

或者如下,裝通用版本手動配置

intelligent idea

打開IntelliJ IDEA 2020.3 x64

之后安裝Rust插件,File/Settings/Plugins搜索Rust插件安裝

之后到rust官網下載對應版本的rustup-init進行安裝

默認安裝在當前用戶目錄下C:UsersAdministrator.rustup

下載rust源碼

git@github.com:rust-lang/rust.git

到IDEA中設置工具鏈和源碼位置

cargo更新依賴源慢,可以換源

C:UsersAdministrator.cargo

新增config文件

# 放到 `$HOME/.cargo/config` 文件中
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"

# 替換成你偏好的鏡像源
replace-with = 'sjtu'
#replace-with = 'ustc'

# 清華大學
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"

# 中國科學技術大學
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"

# 上海交通大學
[source.sjtu]
registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index"

# rustcc社區
[source.rustcc]
registry = "git://crates.rustcc.cn/crates.io-index"

部分庫可能需要匯編器window10下可使用如下的

https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-installer-x64.exe

墻外可用 fotiaoqiang有100M免費

環境變量設置下

另外可能需要CMake

官網下載安裝下就可以了

上面全手動配置完成編譯quiche

vscode則要麻煩很多
手動安裝CMake,go,perl,nasm且要環境變量生效才行
[翻譯]使用Visual Studio Code怎樣調試Rust

總結

以上是生活随笔為你收集整理的win10上Intelligent IDEA配置和编译rust的quiche库的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。