Skip to content

Commit 7b29d2c

Browse files
tnullTheBlueMatt
authored andcommitted
Pin proc-macro2 in CI to fix MSRV breakage
The proc-macro2 crate switched to Rust edition 2021 starting with v1.0.66, i.e., has MSRV of 1.56. Here, we pin it in CI to fix the breakage.
1 parent 487fe84 commit 7b29d2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/ci-tests.sh

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
3333
# The quote crate switched to Rust edition 2021 starting with v1.0.31, i.e., has MSRV of 1.56
3434
[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p quote --precise "1.0.30" --verbose
3535

36+
# The proc-macro2 crate switched to Rust edition 2021 starting with v1.0.66, i.e., has MSRV of 1.56
37+
[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p proc-macro2 --precise "1.0.65" --verbose
38+
3639
[ "$LDK_COVERAGE_BUILD" != "" ] && export RUSTFLAGS="-C link-dead-code"
3740

3841
export RUST_BACKTRACE=1

0 commit comments

Comments
 (0)