Skip to content

Commit b827740

Browse files
committed
ci: pin cc for MSRV
1 parent 9857edd commit b827740

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/test.sh

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ rustc --version
88
# Make all cargo invocations verbose
99
export CARGO_TERM_VERBOSE=true
1010

11+
# Pin dependencies as required if we are using MSRV toolchain.
12+
if cargo --version | grep "1\.56"; then
13+
cargo update -p cc --precise 1.0.94
14+
fi
15+
1116
# Defaults / sanity checks
1217
cargo build --all
1318
cargo test --all

0 commit comments

Comments
 (0)