Skip to content

Commit d24375d

Browse files
committed
syn
1 parent 3f6329c commit d24375d

File tree

2 files changed

+694
-4
lines changed

2 files changed

+694
-4
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@ jobs:
4040
if: |
4141
matrix.rust == '1.63.0'
4242
run: |
43-
cargo update -p idna_adapter --precise 1.1.0
44-
cargo update -p getopts --precise 0.2.22
45-
cargo update -p unicode-width --precise 0.1.12
46-
cargo update -p syn --precise 2.0.100
43+
# cargo update -p idna_adapter --precise 1.1.0
44+
# cargo update -p getopts --precise 0.2.22
45+
# cargo update -p unicode-width --precise 0.1.12
46+
# cargo update syn@2 --precise 2.0.100
47+
# Unfortunately `syn@2` syntax doesn't work on 1.63, and we don't know the precise
48+
# version beforehand. So we copy the lockfile we have already prepared.
49+
cp ci-lockfiles/1.63.Cargo.lock Cargo.lock
4750
# Older Unicode versions have a different test file
4851
cp idna/tests/IdnaTestV2-Unicode16.txt idna/tests/IdnaTestV2.txt
4952
- name: Downgrade deps on Rust 1.82.0

0 commit comments

Comments
 (0)