Skip to content

Commit 19d8ec9

Browse files
committed
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 ba8af22 commit 19d8ec9

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
@@ -17,6 +17,9 @@ HOST_PLATFORM="$(rustc --version --verbose | grep "host:" | awk '{ print $2 }')"
1717
# The serde_json crate switched to Rust edition 2021 starting with v1.0.101, i.e., has MSRV of 1.56
1818
[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p serde_json --precise "1.0.100" --verbose
1919

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

2225
export RUST_BACKTRACE=1

0 commit comments

Comments
 (0)