# New rustup release staged and needing testers

**URL:** <https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446>\
**Category:** tools and infrastructure\
**Created:** [November 25, 2020, 12:21pm UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446 "2020-11-25T12:21:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinnison](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kinnison/32/5768_2.png) [@kinnison](https://internals.rust-lang.org/u/kinnison)\
**Post date:** [November 25, 2020, 12:21pm UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/1 "2020-11-25T12:21:18Z")

</div>

Hi everyone, there is a new release of `rustup` staged on our dev environment and in need of testing.

You can find the changelog here: [https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md](https://github.com/rust-lang/rustup/blob/stable/CHANGELOG.md)

If you are prepared to test it, then if you have an existing install you can do:

`env RUSTUP_UPDATE_ROOT=https://dev-static.rust-lang.org/rustup rustup self update`

If you want to try in a fresh VM or user, in order to not risk your current setup, you can run:

`curl --proto '=https' --tlsv1.2 -sSf https://dev-static.rust-lang.org/rustup/rustup-init.sh | env RUSTUP_UPDATE_ROOT=https://dev-static.rust-lang.org/rustup sh -`

I'm interested in knowing if any of the new functionality seems to misbehave for anyone.

If you are using Illumos or arm64 macos then I'd very much appreciate an indication of whether or not things seem okay since they are new platforms for us.

Finally if you're a windows user, I'd appreciate an indication that I've not broken anything. I've tried my best to do testing on Windows when I can, but I'm not a native of that platform. I'm also unsure how to set the environment variable on Windows, so if a native user could comment with how to do it I'd appreciate that for others to use.

Thanks to anyone who can lend a hand to help.

Daniel.

---

<div class="post-metadata">

**Author:** ![kinnison](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kinnison/32/5768_2.png) [@kinnison](https://internals.rust-lang.org/u/kinnison)\
**Post date:** [November 25, 2020, 12:32pm UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/2 "2020-11-25T12:32:46Z")

</div>

Oh, if you need to discuss anything with me, I'll be on `#wg-rustup` on the Rust-lang discord server ([https://discord.gg/rust-lang](https://discord.gg/rust-lang)) too.

---

<div class="post-metadata">

**Author:** ![Nemo157](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/nemo157/32/11585_2.png) [@Nemo157](https://internals.rust-lang.org/u/Nemo157)\
**Post date:** [November 25, 2020, 12:40pm UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/3 "2020-11-25T12:40:38Z")

</div>

A basic `rustup update nightly` on x86\_64-linux after updating to it worked, but then it self-updated again and downgraded to the stable version 🤣

Installing a channel with just minor version worked fine.

Using the new `rust-toolchain` format seems to try to sync the channel every time I run any command:

```rust
> rustc --version
info: syncing channel updates for 'nightly-2020-11-24-x86_64-unknown-linux-gnu'
info: latest update on 2020-11-24, rust version 1.50.0-nightly (d9a105fdd 2020-11-23)
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rust-std' for target 'thumbv6m-none-eabi' is up to date
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
rustc 1.50.0-nightly (d9a105fdd 2020-11-23)

```

with

```rust
[toolchain]
channel = "nightly-2020-11-24"
components = ["clippy", "rustfmt"]
targets = ["thumbv6m-none-eabi"]

```

---

<div class="post-metadata">

**Author:** ![shepmaster](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/shepmaster/32/847_2.png) [@shepmaster](https://internals.rust-lang.org/u/shepmaster)\
**Post date:** [November 25, 2020, 12:46pm UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/4 "2020-11-25T12:46:38Z")

</div>

`aarch64-apple-darwin` looks good to me!

```nohighlight
% rustup self uninstall

% curl --proto '=https' --tlsv1.2 -sSf https://dev-static.rust-lang.org/rustup/rustup-init.sh | env RUSTUP_UPDATE_ROOT=https://dev-static.rust-lang.org/rustup sh -

Current installation options:

   default host triple: aarch64-apple-darwin
     default toolchain: beta
               profile: minimal
  modify PATH variable: yes

% file $(which rustup)
~/.cargo/bin/rustup: Mach-O 64-bit executable arm64

% rustup install nightly

  nightly-aarch64-apple-darwin installed - rustc 1.50.0-nightly (1c389ffef 2020-11-24)

% cd /tmp

% cargo new hola

% cd hola

% cargo run
   Compiling hola v0.1.0 (/private/tmp/hola)
    Finished dev [unoptimized + debuginfo] target(s) in 0.39s
     Running `target/debug/hola`
Hello, world!

% file target/debug/hola
target/debug/hola: Mach-O 64-bit executable arm64

```

---

<div class="post-metadata">

**Author:** ![kinnison](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kinnison/32/5768_2.png) [@kinnison](https://internals.rust-lang.org/u/kinnison)\
**Post date:** [November 25, 2020, 12:47pm UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/5 "2020-11-25T12:47:43Z")

</div>

> [@Nemo157](#):
>
> Using the new `rust-toolchain` format seems to try to sync the channel every time I run any command:

Oh dear, this isn't good. I shall attempt to replicate this locally, thank you for the report.

---

<div class="post-metadata">

**Author:** ![kinnison](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kinnison/32/5768_2.png) [@kinnison](https://internals.rust-lang.org/u/kinnison)\
**Post date:** [November 25, 2020, 1:00pm UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/6 "2020-11-25T13:00:11Z")

</div>

> [@Nemo157](#):
>
> Using the new `rust-toolchain` format seems to try to sync the channel every time I run any command:

Issue filed here - [New toolchain file format causes unneeded channel syncs · Issue #2571 · rust-lang/rustup · GitHub](https://github.com/rust-lang/rustup/issues/2571) Thanks again

---

<div class="post-metadata">

**Author:** ![kinnison](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kinnison/32/5768_2.png) [@kinnison](https://internals.rust-lang.org/u/kinnison)\
**Post date:** [November 25, 2020, 4:57pm UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/7 "2020-11-25T16:57:20Z")

</div>

> [@kinnison](#):
>
> Issue filed here - [https://github.com/rust-lang/rustup/issues/2571](https://github.com/rust-lang/rustup/issues/2571) Thanks again

PR here - [Toolchain reinstalling fix 2571 by kinnison · Pull Request #2573 · rust-lang/rustup · GitHub](https://github.com/rust-lang/rustup/pull/2573)

if that goes well I'll sort out a rerun of the dev release.

---

<div class="post-metadata">

**Author:** ![jschwe](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/jschwe/32/7367_2.png) [@jschwe](https://internals.rust-lang.org/u/jschwe)\
**Post date:** [November 26, 2020, 10:51am UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/8 "2020-11-26T10:51:46Z")

</div>

Works fine for me on `x86_64-pc-windows-msvc`. Regarding environment variables on Windows: That depends on the shell you use. I don't really use the windows shells much, but this worked for me:

- PowerShell: `$env:RUSTUP_UPDATE_ROOT="https://dev-static.rust-lang.org/rustup"`
- cmd: `set RUSTUP_UPDATE_ROOT="https://dev-static.rust-lang.org/rustup"`

One thing I'd like to mention is that I get the following warning if use the new toolchain file format: `warning: Force-skipping unavailable component 'rust-std-x86_64-unknown-hermit'`.

Toolchain:

```rust
[toolchain]
channel = "nightly-2020-11-24"
components = ["rustfmt", "rust-src", "llvm-tools-preview"]
targets = ["x86_64-unknown-hermit"]

```

I don't think that warning is necessary, since the hermit target is shipped by default.

---

<div class="post-metadata">

**Author:** ![kinnison](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kinnison/32/5768_2.png) [@kinnison](https://internals.rust-lang.org/u/kinnison)\
**Post date:** [November 26, 2020, 11:02am UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/9 "2020-11-26T11:02:54Z")

</div>

> [@jschwe](#):
>
> I don't think that warning is necessary, since the hermit target is shipped by default.

Rustup doesn't know that though 😕Thanks for checking, and for the windows help.

---

<div class="post-metadata">

**Author:** ![kinnison](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kinnison/32/5768_2.png) [@kinnison](https://internals.rust-lang.org/u/kinnison)\
**Post date:** [November 27, 2020, 11:02am UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/10 "2020-11-27T11:02:05Z")

</div>

We've updated the version of rustup on the staging server to close the issue reported by Nemo. I would appreciate any further testing, and we'll aim for a release later today.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [February 25, 2021, 11:02am UTC](https://internals.rust-lang.org/t/new-rustup-release-staged-and-needing-testers/13446/11 "2021-02-25T11:02:05Z")

</div>

Closed on February 25, 2021, 11:02am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
