Rust 最新版1.75.0升级记

news2024/9/30 9:34:56

升级方法

稳定版

C:\>rustup update stable
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2023-12-28, rust version 1.75.0 (82e1608df 2023-12-21)
info: downloading component 'cargo'
  5.9 MiB /   5.9 MiB (100 %)   3.7 MiB/s in  1s ETA:  0s
info: downloading component 'clippy'
info: downloading component 'rust-docs'
 14.3 MiB /  14.3 MiB (100 %)   9.2 MiB/s in  2s ETA:  0s
info: downloading component 'rust-std'
 17.9 MiB /  17.9 MiB (100 %)   8.2 MiB/s in  2s ETA:  0s
info: downloading component 'rustc'
 58.7 MiB /  58.7 MiB (100 %)   9.5 MiB/s in  6s ETA:  0s
info: downloading component 'rustfmt'
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 14.3 MiB /  14.3 MiB (100 %)   2.5 MiB/s in  4s ETA:  0s
info: installing component 'rust-std'
 17.9 MiB /  17.9 MiB (100 %)  17.1 MiB/s in  1s ETA:  0s
info: installing component 'rustc'
 58.7 MiB /  58.7 MiB (100 %)  17.1 MiB/s in  3s ETA:  0s
info: installing component 'rustfmt'

  stable-x86_64-pc-windows-msvc updated - rustc 1.75.0 (82e1608df 2023-12-21) (from rustc 1.74.0 (79e9716c9 2023-11-13))

info: checking for self-update

C:\>rustup --version
rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.70.0 (90c541806 2023-05-31)`

C:\>rustc --version
rustc 1.70.0 (90c541806 2023-05-31)

最新版

稳定版刚升级完,连续升级到最新版需要删除下载和临时目录重试升级:

C:\>rustup update
info: syncing channel updates for 'stable-x86_64-pc-windows-gnu'
400.0 KiB / 710.0 KiB ( 56 %)  19.2 KiB/s in  1m 45s ETA: 16s
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml' to 'C:\Users\boyso\.rustup\tmp\und43x6p2h0eb9yj_file.toml'
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
710.0 KiB / 710.0 KiB (100 %) 128.0 KiB/s in 10s ETA:  0s
info: latest update on 2023-12-28, rust version 1.75.0 (82e1608df 2023-12-21)
info: checking for self-update

  stable-x86_64-pc-windows-gnu update failed - rustc 1.70.0 (90c541806 2023-05-31)
     stable-x86_64-pc-windows-msvc unchanged - rustc 1.75.0 (82e1608df 2023-12-21)

info: cleaning up downloads & tmp directories

C:\>rustup update
info: syncing channel updates for 'stable-x86_64-pc-windows-gnu'
710.0 KiB / 710.0 KiB (100 %) 271.4 KiB/s in  2s ETA:  0s
info: latest update on 2023-12-28, rust version 1.75.0 (82e1608df 2023-12-21)
info: downloading component 'cargo'
  9.5 MiB /   9.5 MiB (100 %)   1.8 MiB/s in  6s ETA:  0s
info: downloading component 'clippy'
  3.3 MiB /   3.3 MiB (100 %)   2.8 MiB/s in  1s ETA:  0s
info: downloading component 'rust-docs'
 14.3 MiB /  14.3 MiB (100 %)   3.4 MiB/s in  5s ETA:  0s
info: downloading component 'rust-mingw'
  4.7 MiB /   4.7 MiB (100 %)   2.1 MiB/s in  2s ETA:  0s
info: downloading component 'rust-std'
 21.9 MiB /  21.9 MiB (100 %)   2.2 MiB/s in 11s ETA:  0s
info: downloading component 'rustc'
 72.8 MiB /  72.8 MiB (100 %)   1.6 MiB/s in 45s ETA:  0s
info: downloading component 'rustfmt'
  3.2 MiB /   3.2 MiB (100 %) 990.6 KiB/s in  4s ETA:  0s
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rust-mingw'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 14.3 MiB /  14.3 MiB (100 %)   2.4 MiB/s in  5s ETA:  0s
info: installing component 'rust-mingw'
info: installing component 'rust-std'
 21.9 MiB /  21.9 MiB (100 %)  12.8 MiB/s in  1s ETA:  0s
info: installing component 'rustc'
 72.8 MiB /  72.8 MiB (100 %)  13.7 MiB/s in  5s ETA:  0s
info: installing component 'rustfmt'
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
710.0 KiB / 710.0 KiB (100 %) 495.4 KiB/s in  2s ETA:  0s
info: latest update on 2023-12-28, rust version 1.75.0 (82e1608df 2023-12-21)
info: checking for self-update

     stable-x86_64-pc-windows-gnu updated - rustc 1.75.0 (82e1608df 2023-12-21) (from rustc 1.70.0 (90c541806 2023-05-31))
  stable-x86_64-pc-windows-msvc unchanged - rustc 1.75.0 (82e1608df 2023-12-21)

info: cleaning up downloads & tmp directories

C:\>rustc --version
rustc 1.75.0 (82e1608df 2023-12-21)

目录

升级方法

稳定版

最新版


升级结束后,版本后为: 1.75.0

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1378814.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

无心剑中译卡明斯《从未游历之地》

Somewhere I Have Never Travelled 从未游历之地 Edward Estlin Cummings 爱德华埃斯特林卡明斯 somewhere i have never traveled, gladly beyond any experience, your eyes have their silence: in your most frail gesture are things which enclose me or which i can…

【Oracle】Oracle编程PLSQL

Oracle编程 一、PL/SQL 1、PL/SQL概述 PL/SQL(Procedure Language/SQL)是 Oracle 对 sql 语言的过程化扩展,使 SQL 语言具有过程处理能力。 基本语法结构 [declare -- 声明变量 ]begin-- 代码逻辑 [exception-- 异常处理 ]end;2、变量 …

如何设置gitlab.rb 将所有数据运行目录放置到指定目录

如何设置gitlab.rb 将所有数据运行目录放置到指定目录 在GitLab中,要将所有数据目录(包括仓库、日志和其他配置文件)移动到一个自定义位置,你需要编辑GitLab的配置文件 /etc/gitlab/gitlab.rb。这里主要关注的是 git_data_dir 配置…

2024年第十届控制、自动化与机器人国际会议(ICCAR 2024)即将召开!

2024年4月27~29日 新加披 会议官网:10th-ICCAR 2024https://iccar.org/index.html 第十届控制、自动化和机器人国际会议将于2024年4月27-29日在新加坡举办。本次会议由新加坡电子学会,IEEE机器人和自动控制协会和IEEE联合主办,并得到北京航空…

Modbus协议学习第一篇之基础概念

什么是“协议” 大白话解释:协议是用来正确传递消息数据而设立的一种规则。传递消息的双方(两台计算机)在通信时遵循同一种协议,即可理解彼此传递的消息数据。 Modbus协议模型 Modbus协议模型较为简单,使用一种称为应用…

关于群晖ARPL界面能出现ip但是使用Synology Assistant搜索不到ip问题 及解决方法

原文链接:https://www.mi-d.cn/7303 当进入该界面后 提示IP无法访问,使用Synology Assistant搜索不到ip。这不一定是网卡驱动的问题,大概率是kernel崩溃掉了。引起kernel崩溃的问题也很多这个不好定位,如果你无法定位问题可以看文…

Apache ActiveMQ RCE漏洞复现

Apache ActiveMQ RCE漏洞复现 1、 产品简介 ActiveMQ是一种开源的基于JMS(Java Message Servie)规范的一种消息中间件的实现,ActiveMQ的设计目标是提供标准的,面向消息的,能够跨越多语言和多系统的应用集成消息通信中…

使用斐波那契(Fibonacci)数列来测试各大语言的性能

笔者使用最多的语言是C,目前项目中在使用Go,也使用过不少其它语言,像Erlang,Python,Lua,C#等等。最近看到C#夺冠,首次荣获 TIOBE 年度编程语言,同时也看到网上有不少Java与C#之争的文…

jdk、tomcat及mysql的安装和windows项目部署

目录 一、jdk安装 1.1 安装jdk 1.2 配置jdk环境 1.3 配置成功 二、tomcat安装 三、MySQL安装 3.1 解压安装文件夹 3.2改变my.ini文件位置 3.3编辑my.ini文件 3.4 打开cmd 输入 mysqld install 3.5初始化mysql服务端 3.6 sql服务启动mysql 3.7 登录mysql 3.8 修改密…

PPT插件-大珩助手-导出长图

导出长图 在日常交稿的时候,为便于交流,或不希望别人修改,需要将PPT存成也一张页面连续的长图,因此开发了导出长图功能,另外还可以将选中的幻灯片导出为长图,导出pdf等功能。 软件介绍 PPT大珩助手是一款…

MySQL面试题 | 04.精选MySQL面试题

🤍 前端开发工程师(主业)、技术博主(副业)、已过CET6 🍨 阿珊和她的猫_CSDN个人主页 🕠 牛客高级专题作者、在牛客打造高质量专栏《前端面试必备》 🍚 蓝桥云课签约作者、已在蓝桥云…

【第二课课后作业】书生·浦语大模型实战营-轻松玩转书生·浦语大模型趣味Demo

目录 轻松玩转书生浦语大模型趣味Demo课后作业1. 基础作业1.1 使用 InternLM-Chat-7B 模型生成 300 字的小故事:1.2 熟悉 hugging face 下载功能,使用 huggingface_hub python 包,下载 InternLM-20B 的 config.json 文件到本地 2. 进阶作业2.…

新书速览|从零开始大模型开发与微调:基于PyTorch与ChatGLM

详细讲解大模型基本理论、算法、程序实现与应用实战,揭示大模型开发与微调技术 1 本书内容 大模型是深度学习自然语言处理皇冠上的一颗明珠,也是当前AI和NLP研究与产业中最重要的方向之一。本书使用PyTorch 2.0作为学习大模型的基本框架,以C…

[自动驾驶算法][从0开始轨迹预测]:一、坐标和坐标系变换

既然要从0开始轨迹预测,那从哪开始写起呢?回想下自己的学习历程,真正有挑战性的不是模型结构,不是繁琐的训练和调参,而是数据的制作!!! 笔者自认为不是一个数学基础牢固的人&#xf…

【机器学习300问】5、什么是强化学习?

我将从三个方面为大家简明阐述什么是强化学习,首先从强化学习的定义大家的了解强化学习的特点,其次学习强化学习里特殊的术语加深对强化学习的理解,最后通过和监督学习与无监督学习的比较,通过对比学习来了解强化学习。 一、强化…

怎么提高客服满意度?

相应速度 1.即使平时回复手速很快,但一旦接待量一上来脑子转不过来,或是顾客咨询了一些自己不知道的问题,就知道快捷语有多重要。 2.熟悉快捷短语。(针对顾客提出的问题能快速给出反应。) 3. 安装快捷回复软件。(使用[客服宝]快捷回复软件…

【JAVA】谈谈 ReadWriteLock 和 StampedLock

🍎个人博客:个人主页 🏆个人专栏:JAVA ⛳️ 功不唐捐,玉汝于成 目录 前言 正文 ReadWriteLock(读写锁) 基本原理: 接口和实现: 用法示例: StampedL…

【期末不挂科-C++考前速过系列P3】大二C++第3次过程考核(20道选择题&12道判断题&2道代码题)【解析,注释】

前言 大家好吖,欢迎来到 YY 滴C考前速过系列 ,热烈欢迎! 本章主要内容面向接触过C的老铁 主要内容含: 欢迎订阅 YY滴C专栏!更多干货持续更新!以下是传送门! YY的《C》专栏YY的《C11》专栏YY的《…

Linux安装Rdkafka PHP 扩展(Kafka使用教程)

以是centos为例 #可以查看php版本 php -v#查看php安装的扩展库 php -m 1、首先,确保你已经安装了 PHP 和相关的开发工具。你可以使用以下命令来安装它们: sudo yum install php-devel 中间会问你是否ok,输入y回车,出现complete…

基于SSM+vue的新生报到服务管理系统(Java毕业设计)

大家好,我是DeBug,很高兴你能来阅读!作为一名热爱编程的程序员,我希望通过这些教学笔记与大家分享我的编程经验和知识。在这里,我将会结合实际项目经验,分享编程技巧、最佳实践以及解决问题的方法。无论你是…