]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Pin cbindgen as 0.21 broke the MSRV
authorMatt Corallo <git@bluematt.me>
Tue, 29 Mar 2022 22:43:31 +0000 (22:43 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 29 Mar 2022 22:53:34 +0000 (22:53 +0000)
.github/workflows/build.yml

index 4bb3188aa25fff65eeaa0dfa505f8dbcff39403d..9387a7f4076504c8e33231b03da6f540b60b8458 100644 (file)
@@ -27,7 +27,7 @@ jobs:
           touch src/version.rs
           RUSTFLAGS="--cfg=c_bindings" cargo check --features std
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --version 0.20.0 cbindgen
       - name: Checkout Rust-Lightning git
         run: |
           git clone https://github.com/rust-bitcoin/rust-lightning
@@ -78,7 +78,7 @@ jobs:
         with:
           fetch-depth: 0
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --version 0.20.0 cbindgen
       - name: Checkout Rust-Lightning git
         run: |
           git clone https://github.com/rust-bitcoin/rust-lightning