Skip to content

Commit 1126d03

Browse files
committed
When testing rustc 1.36, use compatible dependencies.
The latest versions of `ppv-lite86` and `libc` don't compile with `rustc` 1.36. When testing with `rustc` 1.36, use the last compatible version of the dependencies.
1 parent 143b602 commit 1126d03

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ jobs:
7878
cargo test --target ${{ matrix.target }} --benches --features=nightly
7979
cargo test --target ${{ matrix.target }} --manifest-path rand_distr/Cargo.toml --benches
8080
cargo test --target ${{ matrix.target }} --lib --tests --no-default-features --features min_const_gen
81+
- name: Use Cargo.lock.msrv (1.36)
82+
if: ${{ matrix.toolchain == '1.36.0' }}
83+
run: |
84+
cp Cargo.lock.msrv Cargo.lock
8185
- name: Test rand
8286
run: |
8387
cargo test --target ${{ matrix.target }} --lib --tests --no-default-features

0 commit comments

Comments
 (0)