|
| 1 | ++++ |
| 2 | +path = "2025/02/01/Rustup-1.29.0" |
| 3 | +title = "Announcing rustup 1.29.0" |
| 4 | +authors = ["The Rustup Team"] |
| 5 | ++++ |
| 6 | + |
| 7 | +The rustup team is happy to announce the release of rustup version 1.29.0. |
| 8 | + |
| 9 | +[Rustup][install] is the recommended tool to install [Rust][rust], a |
| 10 | +programming language that empowers everyone to build reliable and efficient |
| 11 | +software. |
| 12 | + |
| 13 | +## What's new in rustup 1.29.0 |
| 14 | + |
| 15 | +Following the footsteps of many package managers in the pursuit of better |
| 16 | +toolchain installation performance, the headline of this release is that rustup |
| 17 | +has been enabled to **download components concurrently** and **unpack during |
| 18 | +downloads** in operations such as `rustup update` or `rustup toolchain` and to |
| 19 | +concurrently check for updates in `rustup check`, thanks to a [GSoC 2025 |
| 20 | +project][concurrent-rustup]. |
| 21 | +This is by no means a trivial change so a long |
| 22 | +tail of issues might occur, please [report][issues] them if you have found any! |
| 23 | + |
| 24 | +[concurrent-rustup]: https://blog.rust-lang.org/2025/11/18/gsoc-2025-results/#make-rustup-concurrent |
| 25 | + |
| 26 | +Furthermore, rustup now officially supports the following host platforms: |
| 27 | + |
| 28 | +- `sparcv9-sun-solaris` |
| 29 | +- `x86_64-pc-solaris` |
| 30 | + |
| 31 | +Basic support for the more shells has also been added, so that rustup will |
| 32 | +automatically insert the right `$PATH` entries during `rustup-init` for the |
| 33 | +following shells: |
| 34 | + |
| 35 | +- `tcsh` |
| 36 | +- `xonsh` |
| 37 | + |
| 38 | +This release also comes with other quality-of-life improvements, to name a few: |
| 39 | + |
| 40 | +- When running rust-analyzer via a proxy, rustup will consider the |
| 41 | + `rust-analyzer` binary from `PATH` when the rustup-managed one is not found. |
| 42 | + - This should be particularly useful if you would like to bring your own |
| 43 | + `rust-analyzer` binary, e.g. if you use Neovim, Helix, etc. or are |
| 44 | + developing rust-analyzer itself. |
| 45 | + |
| 46 | +- Empty environment variables are now treated as unset. This should help with |
| 47 | + resetting configuration values to default when an override is present. |
| 48 | + |
| 49 | +- `rustup check` will use different exit codes based on whether new updates |
| 50 | + have been found: it will exit with `100` on any updates or `0` for no |
| 51 | + updates. |
| 52 | + |
| 53 | +Further details are available in the [changelog]! |
| 54 | + |
| 55 | +## How to update |
| 56 | + |
| 57 | +If you have a previous version of rustup installed, getting the new one is as easy as stopping |
| 58 | +any programs which may be using rustup (e.g. closing your IDE) and running: |
| 59 | + |
| 60 | +``` |
| 61 | +$ rustup self update |
| 62 | +``` |
| 63 | + |
| 64 | +Rustup will also automatically update itself at the end of a normal toolchain update: |
| 65 | + |
| 66 | +``` |
| 67 | +$ rustup update |
| 68 | +``` |
| 69 | + |
| 70 | +If you don't have it already, you can [get rustup][install] from the appropriate page on our website. |
| 71 | + |
| 72 | +Rustup's documentation is also available in [the rustup book][book]. |
| 73 | + |
| 74 | +## Caveats |
| 75 | + |
| 76 | +Rustup releases can come with problems not caused by rustup itself but just due to having a new release. |
| 77 | + |
| 78 | +In particular, anti-malware scanners might block rustup or stop it from creating or copying |
| 79 | +files, especially when installing `rust-docs` which contains many small files. |
| 80 | + |
| 81 | +Issues like this should be automatically resolved in a few weeks when the anti-malware scanners are updated |
| 82 | +to be aware of the new rustup release. |
| 83 | + |
| 84 | +## Thanks |
| 85 | + |
| 86 | +Thanks again to all the [contributors] who made this rustup release possible! |
| 87 | + |
| 88 | +[issues]: https://github.com/rust-lang/rustup/issues |
| 89 | +[book]: https://rust-lang.github.io/rustup/ |
| 90 | +[changelog]: https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md |
| 91 | +[contributors]: https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md#detailed-changes |
| 92 | +[install]: https://rustup.rs |
| 93 | +[rust]: https://www.rust-lang.org |
0 commit comments