Hi everyone!
I'd like to announce on behalf of the rustup team that rustup 1.28.0 beta is now available for testing and we are currently looking for beta testers.
The following improvements might require changes to how you use rustup:
-
rustup will no longer automatically install the active toolchain if it is not installed. pr#3985
- To ensure its installation, run
rustup toolchain install
with no arguments. - To help with the migration, the following command installs the active toolchain both before and after this change:
rustup show active-toolchain || rustup toolchain install # Or, on older versions of PowerShell: rustup show active-toolchain; if ($LASTEXITCODE -ne 0) { rustup toolchain install }
- To ensure its installation, run
-
Installing a host-incompatible toolchain via
rustup toolchain install
orrustup default
will now be rejected unless you explicitly add the--force-non-host
flag. pr#4028
As usual, we would be happy to receive regression/breakage reports of any kind, especially regarding the installation/usage on the following platforms/environments:
- Toolchain downloads: Rustup has migrated to reqwest with rustls as the default download backend and rustls-platform-verifier as the server certificate verifier on supported platforms. Please let us know if you have any issues in this respect.
- If issues do happen,
RUSTUP_USE_CURL
andRUSTUP_USE_RUSTLS
can still be used to manually change the download backend.
- If issues do happen,
nu
shell: This version should automatically handlePATH
configs for your rustup installation, but if you have already installed rustup on your machine, a reinstallation might be required to make the config work out of the box.aarch64-pc-windows-msvc
andloongarch64-unknown-linux-musl
: This will be the first release to support these host platforms.- Additionally, you will be able to use https://win.rustup.rs/aarch64 to download the prebuilt installer for
aarch64-pc-windows-msvc
. Please note that this link still leads you to the v1.27.1 release today, but it will be up to date once this release becomes stable.
- Additionally, you will be able to use https://win.rustup.rs/aarch64 to download the prebuilt installer for
- The new output format: The output format of certain commands such as
rustup show
has been updated to make it easier to find the active toolchain. However, this might break your application if you are launchingrustup
as a subprocess and parsing its output. If that happens, please let us know! - The new homepage: A preview of our new project homepage is located at https://dev.rustup.rs. Please feel free to have a look!
To begin testing this new version, all you need to do is simply switching to the dev environment by setting the RUSTUP_UPDATE_ROOT=https://dev-static.rust-lang.org/rustup
environment variable and update (or install) rustup. [1]
Finally, please don't forget to check out the corresponding section in our CHANGELOG.md for the complete list of changes included in this version.
Many thanks in advance, and happy holidays
To switch out of the dev environment, just remove that environment variable and do a
rustup self update
. ↩︎