Skip to content

Commit 9c2d4c6

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 1188839 commit 9c2d4c6

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
@@ -30,6 +30,12 @@ popd
3030
# The addr2line v0.20 crate (a dependency of `backtrace` starting with 0.3.68) relies on 1.55+
3131
[ "$RUSTC_MINOR_VERSION" -lt 55 ] && cargo update -p backtrace --precise "0.3.67" --verbose
3232

33+
# The quote crate switched to Rust edition 2021 starting with v1.0.31, i.e., has MSRV of 1.56
34+
[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p quote --precise "1.0.30" --verbose
35+
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+
3339
# The serde_json crate switched to Rust edition 2021 starting with v1.0.101, i.e., has MSRV of 1.56
3440
[ "$RUSTC_MINOR_VERSION" -lt 56 ] && cargo update -p serde_json --precise "1.0.100" --verbose
3541

0 commit comments

Comments
 (0)