From 17758d4c6d93e399262cc4092cdf96d5d44dfd30 Mon Sep 17 00:00:00 2001 From: wtfsck Date: Fri, 20 May 2022 20:21:01 +0200 Subject: [PATCH] Use an older version of Rust to work around a crash in 1.61+ Reported to not crash with 1.60 but crashes with 1.61, see https://github.com/rust-lang/rust/issues/97222 --- .github/workflows/build.yml | 5 +++++ .github/workflows/release.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64355a019..a9deae10e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -146,6 +146,11 @@ jobs: shell: bash run: bash build/ci-install-rust.sh + #TODO: 1.61 crashes due to a big enum: https://github.com/rust-lang/rust/issues/97222 + - name: Use older rustc version + shell: bash + run: rustup default 1.54.0 + - uses: actions/setup-node@v3 with: node-version: ${{env.CI_NODE_MIN_VER}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6185bc4c8..3fa52f2de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,6 +96,11 @@ jobs: shell: bash run: bash build/ci-install-rust.sh + #TODO: 1.61 crashes due to a big enum: https://github.com/rust-lang/rust/issues/97222 + - name: Use older rustc version + shell: bash + run: rustup default 1.54.0 + - uses: actions/setup-node@v3 with: node-version: ${{env.CI_NODE_MIN_VER}}