Support no_std on the generated crate
[ldk-c-bindings] / .github / workflows / build.yml
index 64bc90c2e78e9c76225726c80eec59cb0068ce6a..4a42cc3e020318cf22fcd5070b0e1c9e3d3b9e7a 100644 (file)
@@ -25,7 +25,7 @@ jobs:
         run: |
           # Note that the version tags aren't checked into git
           touch src/version.rs
-          RUSTFLAGS="--cfg=c_bindings" cargo check
+          RUSTFLAGS="--cfg=c_bindings" cargo check --features std
       - name: Install cbindgen
         run: cargo install --force cbindgen
       - name: Checkout Rust-Lightning git