Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Support forcing self update of rustup? #170

Open
matklad opened this issue May 24, 2021 · 0 comments
Open

Support forcing self update of rustup? #170

matklad opened this issue May 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@matklad
Copy link

matklad commented May 24, 2021

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant