Skip to content

Commit 61d7ada

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 61d7ada

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci/ci-tests.sh

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ HOST_PLATFORM="$(rustc --version --verbose | grep "host:" | awk '{ print $2 }')"
1414
# The addr2line v0.20 crate (a dependency of `backtrace` starting with 0.3.68) relies on 1.55+
1515
[ "$RUSTC_MINOR_VERSION" -lt 55 ] && cargo update -p backtrace --precise "0.3.67" --verbose
1616

17+
# The quote crate switched to Rust edition 2021 starting with v1.0.31, i.e., has MSRV of 1.56
18+
[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p quote --precise "1.0.30" --verbose
19+
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 proc-macro2 --precise "1.0.65" --verbose
22+
1723
# The serde_json crate switched to Rust edition 2021 starting with v1.0.101, i.e., has MSRV of 1.56
1824
[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p serde_json --precise "1.0.100" --verbose
1925

0 commit comments

Comments
 (0)