@@ -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
@@ -172,7 +192,11 @@ jobs:
172192 fetch-depth : 0
173193 - name : Install cbindgen
174194 run : |
175- cargo install cbindgen
195+ git clone https://github.com/eqrion/cbindgen
196+ cd cbindgen/
197+ git checkout v0.20.0
198+ cargo update -p indexmap --precise "1.6.2" --verbose
199+ cargo install --locked --path .
176200 - name : Checkout Rust-Lightning and LDK-C-Bindings git
177201 run : |
178202 git config --global safe.directory '*'
@@ -182,10 +206,15 @@ jobs:
182206 git clone https://github.com/lightningdevkit/rust-lightning
183207 cd rust-lightning
184208 git checkout origin/0.1-bindings
209+ cargo update -p syn --precise "2.0.106" --verbose
210+ cargo update -p quote --precise "1.0.41" --verbose
185211 cd ..
186212 git clone https://github.com/lightningdevkit/ldk-c-bindings
187213 cd ldk-c-bindings
188214 git checkout 0.1
215+ cd lightning-c-bindings
216+ cargo update -p syn --precise "2.0.106" --verbose
217+ cargo update -p quote --precise "1.0.41" --verbose
189218 - name : Fetch MacOS SDK
190219 run : |
191220 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 +262,10 @@ jobs:
233262 cd ldk-c-bindings
234263 git clean -f -x -d
235264 git reset --hard
236- cd ..
265+ cd lightning-c-bindings
266+ cargo update -p syn --precise "2.0.106" --verbose
267+ cargo update -p quote --precise "1.0.41" --verbose
268+ cd ../..
237269 export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
238270 export ANDROID_TOOLCHAIN="$(pwd)/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64"
239271 export PATH="$PATH:$ANDROID_TOOLCHAIN/bin"
@@ -363,10 +395,15 @@ jobs:
363395 git clone https://github.com/lightningdevkit/rust-lightning
364396 cd rust-lightning
365397 git checkout origin/0.1-bindings
398+ cargo update -p syn --precise "2.0.106" --verbose
399+ cargo update -p quote --precise "1.0.41" --verbose
366400 cd ..
367401 git clone https://github.com/lightningdevkit/ldk-c-bindings
368402 cd ldk-c-bindings
369403 git checkout 0.1
404+ cd lightning-c-bindings
405+ cargo update -p syn --precise "2.0.106" --verbose
406+ cargo update -p quote --precise "1.0.41" --verbose
370407 - name : Pin proc-macro and quote to meet MSRV
371408 run : |
372409 cd ldk-c-bindings/c-bindings-gen
@@ -424,10 +461,15 @@ jobs:
424461 git clone https://github.com/lightningdevkit/rust-lightning
425462 cd rust-lightning
426463 git checkout origin/0.1-bindings
464+ cargo update -p syn --precise "2.0.106" --verbose
465+ cargo update -p quote --precise "1.0.41" --verbose
427466 cd ..
428467 git clone https://github.com/lightningdevkit/ldk-c-bindings
429468 cd ldk-c-bindings
430469 git checkout 0.1
470+ cd lightning-c-bindings
471+ cargo update -p syn --precise "2.0.106" --verbose
472+ cargo update -p quote --precise "1.0.41" --verbose
431473 - name : Pin proc-macro and quote to meet MSRV
432474 run : |
433475 cd ldk-c-bindings/c-bindings-gen
@@ -551,10 +593,20 @@ jobs:
551593 git clone https://github.com/lightningdevkit/rust-lightning
552594 cd rust-lightning
553595 git checkout origin/0.1-bindings
596+ cargo update -p syn --precise "2.0.106" --verbose
597+ cargo update -p quote --precise "1.0.41" --verbose
554598 cd ..
555599 git clone https://github.com/lightningdevkit/ldk-c-bindings
556600 cd ldk-c-bindings
557601 git checkout 0.1
602+ cd lightning-c-bindings
603+ cargo update -p syn --precise "2.0.106" --verbose
604+ cargo update -p quote --precise "1.0.41" --verbose
605+ - name : Pin proc-macro and quote to meet MSRV
606+ run : |
607+ cd ldk-c-bindings/c-bindings-gen
608+ cargo update -p quote --precise "1.0.30" --verbose
609+ cargo update -p proc-macro2 --precise "1.0.65" --verbose
558610 - name : Fetch MacOS SDK
559611 run : |
560612 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 +735,20 @@ jobs:
683735 git clone https://github.com/lightningdevkit/rust-lightning
684736 cd rust-lightning
685737 git checkout origin/0.1-bindings
738+ cargo update -p syn --precise "2.0.106" --verbose
739+ cargo update -p quote --precise "1.0.41" --verbose
686740 cd ..
687741 git clone https://github.com/lightningdevkit/ldk-c-bindings
688742 cd ldk-c-bindings
689743 git checkout 0.1
744+ cd lightning-c-bindings
745+ cargo update -p syn --precise "2.0.106" --verbose
746+ cargo update -p quote --precise "1.0.41" --verbose
747+ - name : Pin proc-macro and quote to meet MSRV
748+ run : |
749+ cd ldk-c-bindings/c-bindings-gen
750+ cargo update -p quote --precise "1.0.30" --verbose
751+ cargo update -p proc-macro2 --precise "1.0.65" --verbose
690752 - name : Checkout Android AAR binaries and artifacts
691753 run : |
692754 # Gitweb only allows snapshots of folders by providing the object hash, which we have to extract:
0 commit comments