Skip to content

Commit f7f0908

Browse files
Merge pull request #1501 from djc/rustup-1.28.1
posts: announce rustup 1.28.1
2 parents 1f499a2 + 8fe8195 commit f7f0908

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

posts/2025-03-04-Rustup-1.28.1.md

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
layout: post
3+
title: "Announcing rustup 1.28.1"
4+
author: The Rustup Team
5+
---
6+
7+
The rustup team is happy to announce the release of rustup version 1.28.1.
8+
[Rustup][install] is the recommended tool to install [Rust][rust], a programming language that is empowering everyone to build reliable and efficient software.
9+
10+
## Challenges with rustup 1.28.0
11+
12+
rustup 1.28.0 was a significant release with many changes, and there was a quick response from many
13+
folks that this release broke their processes. While we considered yanking the release, we worried
14+
that this would cause problems for people who had already updated to adopt some of the changes.
15+
Instead, we are rolling forward with 1.28.1 today and potentially further bugfix releases to
16+
address the feedback that comes in.
17+
18+
We value all constructive feedback -- please keep it coming in the [issue tracker]. In particular,
19+
the change with regard to implicit toolchain installation is being discussed in [this issue].
20+
21+
[this issue]: https://github.com/rust-lang/rustup/issues/4211
22+
[issue tracker]: https://github.com/rust-lang/rustup/issues/
23+
24+
## What's new in rustup 1.28.1
25+
26+
This release contains the following fixes:
27+
28+
- Automatic install is enabled by default but can be opted out by setting `RUSTUP_AUTO_INSTALL`
29+
environment variable to `0`. [pr#4214] [pr#4227]
30+
- `rustup show active-toolchain` will only print a single line, as it did in 1.27. [pr#4221]
31+
- Fixed a bug in the reqwest backend that would erroneously timeout downloads after 30s. [pr#4218]
32+
- Use relative symlinks for proxies. [pr#4226]
33+
34+
[1.28.1]: https://github.com/rust-lang/rustup/releases/tag/1.28.1
35+
[pr#4214]: https://github.com/rust-lang/rustup/pull/4214
36+
[pr#4221]: https://github.com/rust-lang/rustup/pull/4221
37+
[pr#4218]: https://github.com/rust-lang/rustup/pull/4218
38+
[pr#4226]: https://github.com/rust-lang/rustup/pull/4226
39+
[pr#4227]: https://github.com/rust-lang/rustup/pull/4227
40+
41+
## How to update
42+
43+
If you have a previous version of rustup installed, getting rustup 1.28.1 is as easy as stopping
44+
any programs which may be using Rustup (e.g. closing your IDE) and running:
45+
46+
```console
47+
$ rustup self update
48+
```
49+
50+
Rustup will also automatically update itself at the end of a normal toolchain update:
51+
52+
```console
53+
$ rustup update
54+
```
55+
56+
If you don't have it already, you can [get rustup][install] from the appropriate page on our website.
57+
58+
Rustup's documentation is also available in [the rustup book][book].
59+
60+
## Caveats
61+
62+
Rustup releases can come with problems not caused by rustup itself but just due to having a new release.
63+
As such, we recommend paying attention to the following potential issues in particular:
64+
65+
- Anti-malware scanners might be blocking rustup or stopping it from creating or copying files
66+
(especially when installing `rust-docs`, since it contains many small files).
67+
68+
- In your CI environment, rustup might fail when trying to perform a self-update.
69+
70+
This is a [known issue](https://github.com/rust-lang/rustup/issues/3709),
71+
and in the case where this issue does occur, we recommend applying the following workaround at the beginning of your workflow:
72+
73+
```console
74+
$ rustup set auto-self-update disable
75+
```
76+
77+
Also, starting from 1.28.0, rustup will no longer attempt to self-update in CI environments,
78+
so this workaround should not be necessary in the future.
79+
80+
These issues should be automatically resolved in a few weeks when the anti-malware scanners are updated to be aware of the new rustup release,
81+
and the hosted version is updated across all CI runners.
82+
83+
## Thanks
84+
85+
Thanks to the rustup and t-release team members who came together to quickly address these issues.
86+
87+
[book]: https://rust-lang.github.io/rustup/
88+
[changelog]: https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md
89+
[contributors]: https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md#detailed-changes
90+
[install]: https://rustup.rs
91+
[rust]: https://www.rust-lang.org

0 commit comments

Comments
 (0)