Skip to content

Commit ec0b296

Browse files
committed
Add additional pins required for MSRV builds
1 parent 643c544 commit ec0b296

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

ci/check-lint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ RUSTC_MINOR_VERSION=$(rustc --version | awk '{ split($2,a,"."); print a[2] }')
1111
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p syn --precise "2.0.106" --verbose
1212
# quote 1.0.42 requires rustc 1.68.0
1313
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p quote --precise "1.0.41" --verbose
14+
# Starting with version 1.0.104, the `proc-macro2` crate has an MSRV of rustc 1.68
15+
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p proc-macro2 --precise "1.0.103" --verbose
1416

1517
RUSTFLAGS='-D warnings' cargo clippy -- \
1618
`# We use this for sat groupings` \

ci/ci-tests.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ RUSTC_MINOR_VERSION=$(rustc --version | awk '{ split($2,a,"."); print a[2] }')
1010
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p syn --precise "2.0.106" --verbose
1111
# quote 1.0.42 requires rustc 1.68.0
1212
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p quote --precise "1.0.41" --verbose
13+
# Starting with version 1.0.104, the `proc-macro2` crate has an MSRV of rustc 1.68
14+
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p proc-macro2 --precise "1.0.103" --verbose
15+
16+
# Starting with version 2.0.107, the `syn` crate has an MSRV of rustc 1.68
17+
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p syn --precise "2.0.106" --verbose
18+
19+
# Starting with version 1.0.42, the `quote` crate has an MSRV of rustc 1.68
20+
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p quote --precise "1.0.41" --verbose
21+
22+
# Starting with version 1.0.104, the `proc-macro2` crate has an MSRV of rustc 1.68
23+
[ "$RUSTC_MINOR_VERSION" -lt 68 ] && cargo update -p proc-macro2 --precise "1.0.103" --verbose
1324

1425
export RUST_BACKTRACE=1
1526

0 commit comments

Comments
 (0)