Skip to content

Commit 4972f51

Browse files
committed
ci: temp. pin nightly to avoid ICE
There's an unfixed issue with nightly rust that produces an ICE building the project w/ nightly. Pin a working version until its fixed upstream.
1 parent 4a0c444 commit 4972f51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
- name: Install rust toolchain
4747
uses: dtolnay/rust-toolchain@master
4848
with:
49-
toolchain: ${{ matrix.toolchain }}
49+
# TODO(XXX): Revert to "matrix.rust" after rust-lang/rust#125474 is fixed.
50+
toolchain: ${{ matrix.rust == 'nightly' && 'nightly-2024-05-22' || matrix.rust }}
5051
- name: cargo doc (all features)
5152
run: cargo doc --all-features --document-private-items
5253
env:

0 commit comments

Comments
 (0)