Windows中安装rustup-init.exe以及cargo build报错443

window运行rustup-init.exe下载很慢

在powershell里面运行如下两行代码:最好分两次进行
$ENV:RUSTUP_DIST_SERVER='https://mirrors.ustc.edu.cn/rust-static'

$ENV:RUSTUP_UPDATE_ROOT='https://mirrors.ustc.edu.cn/rust-static/rustup'

cargo build报错443

cmd执行cargo build显示fatal: unable to access 'https://chromium.googlesource.com/webm/libwebm/': Failed to connect to chromium.googlesource.com port 443 afte....

解决方法:先声明使用代理,就是执行cargo build前先输入下面两行

端口号可以到,设置-网络-代理查看

复制代码
set http_proxy=http://127.0.0.1:1080
set https_proxy=http://127.0.0.1:1080
相关推荐
r***99821 天前
mysql9.0windows安装
windows·adb
OneLIMS1 天前
Windows Server 2022 + IIS + ASP.NET Core 完整可上传大文件的 报错的问题
windows·后端·asp.net
笨鸟要努力1 天前
Qt C++ windows 设置系统时间
c++·windows·qt
q***44151 天前
SQLMAP的下载安装和使用(Windows)
windows
子燕若水1 天前
Nuitka 打包 教程windows版本
windows
吴声子夜歌1 天前
Windows——注册表
windows
i***11861 天前
Windows环境下安装Redis并设置Redis开机自启
数据库·windows·redis
5***g2981 天前
Windows安装Rust环境(详细教程)
开发语言·windows·rust
吴声子夜歌1 天前
Windows——PowerShell
windows
极简之美1 天前
Mac 远程连接 Windows 简明教程(2025 实测版)
windows·macos