Skip to content

Commit 818144e

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 a74583b commit 818144e

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
@@ -32,6 +32,9 @@ PIN_RELEASE_DEPS
3232
# The quote crate switched to Rust edition 2021 starting with v1.0.31, i.e., has MSRV of 1.56
3333
[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p quote --precise "1.0.30" --verbose
3434

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

3740
export RUST_BACKTRACE=1

0 commit comments

Comments
 (0)