Skip to content

Commit

Permalink
Use an older version of Rust to work around a crash in 1.61+
Browse files Browse the repository at this point in the history
Reported to not crash with 1.60 but crashes with 1.61, see
rust-lang/rust#97222
  • Loading branch information
wtfsck committed May 20, 2022
1 parent 4cea127 commit 17758d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 17758d4

Please # to comment.