Fix no-std+WASM builds by not mixing -flto and -fembed-bitcode
[ldk-c-bindings] / .github / workflows / build.yml
index 2db5936984a1cbf9c77170372b6be8d9ab5cdcb6..b68feb7b96c1b05af6e74567d00d6e1574ad7067 100644 (file)
@@ -15,7 +15,7 @@ jobs:
         run: |
           apt-get update
           apt-get -y dist-upgrade
         run: |
           apt-get update
           apt-get -y dist-upgrade
-          apt-get -y install cargo valgrind lld git g++ clang
+          apt-get -y install cargo libstd-rust-dev-wasm32 valgrind lld git g++ clang
       - name: Checkout source code
         uses: actions/checkout@v2
       - name: Sanity test bindings against Cargo.toml RL
       - name: Checkout source code
         uses: actions/checkout@v2
       - name: Sanity test bindings against Cargo.toml RL