]> git.bitcoin.ninja Git - ldk-java/commitdiff
ugh
authorMatt Corallo <git@bluematt.me>
Tue, 23 Mar 2021 18:33:52 +0000 (14:33 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Mar 2021 18:33:52 +0000 (14:33 -0400)
.github/workflows/build.yml

index b2c6e4e533b6628891e8ea98f0b724de7d393d82..917c8b4a1bad3dea712be48c2cd571061ed86b49 100644 (file)
@@ -33,7 +33,8 @@ jobs:
           cd ..
           git clone https://github.com/lightningdevkit/ldk-c-bindings
           cd ldk-c-bindings
-          sed -i 's|# Now cd to lightning-c-bindings, build the generated bindings, and call cbindgen to build a C header file|export RUSTFLAGS="--remap-path-prefix $LIGHTNING_PATH=rust-lightning --remap-path-prefix $HOME/.cargo= -Z no-parallel-llvm"\nexport RUSTC_BOOTSTRAP=1|' genbindings.sh
+          sed -i 's|# Now cd to lightning-c-bindings, build the generated bindings, and call cbindgen to build a C header file|export RUSTFLAGS="--remap-path-prefix $LIGHTNING_PATH=rust-lightning --remap-path-prefix $HOME/.cargo= -Z no-parallel-llvm -C codegen-units=1"\nexport RUSTC_BOOTSTRAP=1|' genbindings.sh
+          cat genbindings.sh
           cd ..
       - name: Rebuild C bindings, and check the sample app builds + links
         run: cd ldk-c-bindings && export SOURCE_DATE_EPOCH=1616474792 && ./genbindings.sh ../rust-lightning && cd ..