From 9b17ba2ff88409c5989d18ba8f1b1e2c6fb2ba43 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 6 Oct 2023 23:14:44 +0000 Subject: [PATCH] Pin memchr to meet MSRVs during builds --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2afaaa91..cd275505 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Rebuild C bindings without STD run: | cd ldk-c-bindings @@ -139,6 +141,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Pin proc-macro and quote to meet MSRV run: | cd ldk-c-bindings/c-bindings-gen @@ -200,6 +204,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Pin proc-macro and quote to meet MSRV run: | cd ldk-c-bindings/c-bindings-gen @@ -452,6 +458,9 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + . $HOME/.cargo/env + cargo update -p memchr --precise "2.5.0" --verbose - name: Checkout Android AAR binaries and artifacts run: | # Gitweb only allows snapshots of folders by providing the object hash, which we have to extract: @@ -525,6 +534,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Rebuild C bindings and check the sample app builds + links run: | cd ldk-c-bindings -- 2.39.5