Skip to content

Commit c1c9f6e

Browse files
committed
Pin memchr so that no-std builds work
1 parent aba59d9 commit c1c9f6e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,17 @@ jobs:
3838
git clone https://github.com/rust-bitcoin/rust-lightning
3939
cd rust-lightning
4040
git checkout 0.0.117-bindings
41+
# Pin memchr until we can remove it
42+
cargo update -p memchr --precise "2.5.0" --verbose
4143
- name: Fix Github Actions to not be broken
4244
run: git config --global --add safe.directory /__w/ldk-c-bindings/ldk-c-bindings
43-
- name: Pin proc-macro and quote to meet MSRV
45+
- name: Pin proc-macro, quote and memchr to meet MSRV
4446
run: |
4547
cd c-bindings-gen
4648
cargo update -p quote --precise "1.0.30" --verbose
4749
cargo update -p proc-macro2 --precise "1.0.65" --verbose
50+
cd ../lightning-c-bindings
51+
cargo update -p memchr --precise "2.5.0" --verbose
4852
- name: Rebuild bindings without std, and check the sample app builds + links
4953
run: ./genbindings.sh ./rust-lightning false
5054
- name: Rebuild bindings, and check the sample app builds + links

0 commit comments

Comments
 (0)