@@ -41,10 +41,20 @@ jobs:
4141 git clone https://github.com/lightningdevkit/rust-lightning
4242 cd rust-lightning
4343 git checkout origin/0.1-bindings
44+ cargo update -p syn --precise "2.0.106" --verbose
45+ cargo update -p quote --precise "1.0.41" --verbose
4446 cd ..
4547 git clone https://github.com/lightningdevkit/ldk-c-bindings
4648 cd ldk-c-bindings
4749 git checkout 0.1
50+ cd lightning-c-bindings
51+ cargo update -p syn --precise "2.0.106" --verbose
52+ cargo update -p quote --precise "1.0.41" --verbose
53+ - name: Pin proc-macro and quote to meet MSRV
54+ run: |
55+ cd ldk-c-bindings/c-bindings-gen
56+ cargo update -p quote --precise "1.0.30" --verbose
57+ cargo update -p proc-macro2 --precise "1.0.65" --verbose
4858 - name: Rebuild C bindings without STD
4959 run: |
5060 cd ldk-c-bindings
@@ -137,10 +147,20 @@ jobs:
137147 git clone https://github.com/lightningdevkit/rust-lightning
138148 cd rust-lightning
139149 git checkout origin/0.1-bindings
150+ cargo update -p syn --precise "2.0.106" --verbose
151+ cargo update -p quote --precise "1.0.41" --verbose
140152 cd ..
141153 git clone https://github.com/lightningdevkit/ldk-c-bindings
142154 cd ldk-c-bindings
143155 git checkout 0.1
156+ cd lightning-c-bindings
157+ cargo update -p syn --precise "2.0.106" --verbose
158+ cargo update -p quote --precise "1.0.41" --verbose
159+ - name: Pin proc-macro and quote to meet MSRV
160+ run: |
161+ cd ldk-c-bindings/c-bindings-gen
162+ cargo update -p quote --precise "1.0.30" --verbose
163+ cargo update -p proc-macro2 --precise "1.0.65" --verbose
144164 - name: Rebuild C bindings with STD
145165 run: |
146166 cd ldk-c-bindings
@@ -182,10 +202,15 @@ jobs:
182202 git clone https://github.com/lightningdevkit/rust-lightning
183203 cd rust-lightning
184204 git checkout origin/0.1-bindings
205+ cargo update -p syn --precise "2.0.106" --verbose
206+ cargo update -p quote --precise "1.0.41" --verbose
185207 cd ..
186208 git clone https://github.com/lightningdevkit/ldk-c-bindings
187209 cd ldk-c-bindings
188210 git checkout 0.1
211+ cd lightning-c-bindings
212+ cargo update -p syn --precise "2.0.106" --verbose
213+ cargo update -p quote --precise "1.0.41" --verbose
189214 - name: Fetch MacOS SDK
190215 run: |
191216 curl -o Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz https://bitcoincore.org/depends-sources/sdks/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
@@ -233,7 +258,10 @@ jobs:
233258 cd ldk-c-bindings
234259 git clean -f -x -d
235260 git reset --hard
236- cd ..
261+ cd lightning-c-bindings
262+ cargo update -p syn --precise "2.0.106" --verbose
263+ cargo update -p quote --precise "1.0.41" --verbose
264+ cd ../..
237265 export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
238266 export ANDROID_TOOLCHAIN="$(pwd)/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64"
239267 export PATH="$PATH:$ANDROID_TOOLCHAIN/bin"
@@ -363,10 +391,15 @@ jobs:
363391 git clone https://github.com/lightningdevkit/rust-lightning
364392 cd rust-lightning
365393 git checkout origin/0.1-bindings
394+ cargo update -p syn --precise "2.0.106" --verbose
395+ cargo update -p quote --precise "1.0.41" --verbose
366396 cd ..
367397 git clone https://github.com/lightningdevkit/ldk-c-bindings
368398 cd ldk-c-bindings
369399 git checkout 0.1
400+ cd lightning-c-bindings
401+ cargo update -p syn --precise "2.0.106" --verbose
402+ cargo update -p quote --precise "1.0.41" --verbose
370403 - name: Pin proc-macro and quote to meet MSRV
371404 run: |
372405 cd ldk-c-bindings/c-bindings-gen
@@ -424,10 +457,15 @@ jobs:
424457 git clone https://github.com/lightningdevkit/rust-lightning
425458 cd rust-lightning
426459 git checkout origin/0.1-bindings
460+ cargo update -p syn --precise "2.0.106" --verbose
461+ cargo update -p quote --precise "1.0.41" --verbose
427462 cd ..
428463 git clone https://github.com/lightningdevkit/ldk-c-bindings
429464 cd ldk-c-bindings
430465 git checkout 0.1
466+ cd lightning-c-bindings
467+ cargo update -p syn --precise "2.0.106" --verbose
468+ cargo update -p quote --precise "1.0.41" --verbose
431469 - name: Pin proc-macro and quote to meet MSRV
432470 run: |
433471 cd ldk-c-bindings/c-bindings-gen
@@ -551,10 +589,20 @@ jobs:
551589 git clone https://github.com/lightningdevkit/rust-lightning
552590 cd rust-lightning
553591 git checkout origin/0.1-bindings
592+ cargo update -p syn --precise "2.0.106" --verbose
593+ cargo update -p quote --precise "1.0.41" --verbose
554594 cd ..
555595 git clone https://github.com/lightningdevkit/ldk-c-bindings
556596 cd ldk-c-bindings
557597 git checkout 0.1
598+ cd lightning-c-bindings
599+ cargo update -p syn --precise "2.0.106" --verbose
600+ cargo update -p quote --precise "1.0.41" --verbose
601+ - name: Pin proc-macro and quote to meet MSRV
602+ run: |
603+ cd ldk-c-bindings/c-bindings-gen
604+ cargo update -p quote --precise "1.0.30" --verbose
605+ cargo update -p proc-macro2 --precise "1.0.65" --verbose
558606 - name: Fetch MacOS SDK
559607 run: |
560608 curl -o Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz https://bitcoincore.org/depends-sources/sdks/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz
@@ -683,10 +731,15 @@ jobs:
683731 git clone https://github.com/lightningdevkit/rust-lightning
684732 cd rust-lightning
685733 git checkout origin/0.1-bindings
734+ cargo update -p syn --precise "2.0.106" --verbose
735+ cargo update -p quote --precise "1.0.41" --verbose
686736 cd ..
687737 git clone https://github.com/lightningdevkit/ldk-c-bindings
688738 cd ldk-c-bindings
689739 git checkout 0.1
740+ cd lightning-c-bindings
741+ cargo update -p syn --precise "2.0.106" --verbose
742+ cargo update -p quote --precise "1.0.41" --verbose
690743 - name: Checkout Android AAR binaries and artifacts
691744 run: |
692745 # Gitweb only allows snapshots of folders by providing the object hash, which we have to extract:
0 commit comments