toolchain icon indicating copy to clipboard operation
toolchain copied to clipboard

Support forcing self update of rustup?

Open matklad opened this issue 3 years ago • 0 comments

In rust-analyzer's CI, we are seeing rustup running out of memory frequently:

https://github.com/rust-analyzer/rust-analyzer/runs/2655689554#step:4:31

I think this should be fixed with the most recent rustup: https://blog.rust-lang.org/2021/05/17/Rustup-1.24.2.html

So I think that I'd be able to fix rust-analyzer's CI if I had something like this, to force self-update before toolchain download:

    - name: Install Rust toolchain
      uses: actions-rs/toolchain@v1
      with:
        self-update: true
        toolchain: stable
        profile: minimal
        override: true
        components: rustfmt, rust-src

matklad avatar May 24 '21 11:05 matklad