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
相关推荐
qq_369224335 天前
Windows全系通用!ntdll.dll文件丢失、报错、闪退问题的完整排查与修复教程
windows·dll·dll修复·dll丢失·dll错误
阿米亚波5 天前
【Windows】QEMU 启动 openEuler aarch64/arm64 架构系统 + 离线软件源
linux·windows·经验分享·笔记·架构·arm
caimouse5 天前
Reactos 第 10 章 网络操作 — 10.3.1 NIC驱动
网络·windows
初圣魔门首席弟子5 天前
Node.js 详细介绍(知识库版)
windows·qt·node.js·知识库
CHENG-JustDoIt5 天前
AI工具 | 爆火开源项目Odysseus AI 工作台:从项目介绍、部署情况及其使用等多方位分析指南(含详细步骤)
大数据·人工智能·windows·python·ai·开源·github
kingbal5 天前
Windows:flutter环境搭建
windows·flutter
未若君雅裁5 天前
Python 数据容器详解,list、tuple、str、set、dict 到底怎么选
windows·python·list
CodeKwang5 天前
Windows 环境 OCCT 8.0 编译构建及与 Qt6 项目集成
windows·qt·opencascade
我是伪码农5 天前
小兔鲜1-25
linux·服务器·windows
vx-Biye_Design5 天前
springboot安阳地区研学旅游服务小程序-计算机毕业设计源码12785
java·vue.js·windows·spring boot·tomcat·maven·mybatis