]> git.bitcoin.ninja Git - ldk-java/commitdiff
Use older `cbindgen` on android to work around MSRV
authorMatt Corallo <git@bluematt.me>
Wed, 4 Sep 2024 14:17:01 +0000 (14:17 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 4 Sep 2024 19:09:29 +0000 (19:09 +0000)
.github/workflows/build.yml

index e7740794cce4081db740728b1f4979e115385697..b6957f4ce47d252f8f93b96f66a7366dcf6051dc 100644 (file)
@@ -661,7 +661,11 @@ jobs:
       - name: Install cbindgen
         run: |
           . $HOME/.cargo/env
-          cargo install cbindgen
+          git clone https://github.com/eqrion/cbindgen
+          cd cbindgen/
+          git checkout v0.20.0
+          cargo update -p indexmap --precise "1.6.2" --verbose
+          cargo install --locked --path .
       - name: Checkout Rust-Lightning and LDK-C-Bindings git
         run: |
           git config --global user.email "ldk-ci@example.com"