Skip to content

Commit 3c1c95c

Browse files
authored
Pin libc to older version for Rust 1.56 (#102)
1 parent e0107c0 commit 3c1c95c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
uses: dtolnay/rust-toolchain@master
2525
with:
2626
toolchain: ${{ matrix.rust }}
27+
- name: Override libc version (Rust 1.56 only)
28+
if: matrix.rust == '1.56'
29+
run: cargo update -p libc --precise 0.2.163
2730
- name: Setup cache
2831
uses: Swatinem/rust-cache@v2
2932
- name: Test (no features)

0 commit comments

Comments
 (0)