Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ifdef guards to wasm-sysroot headers
In typical C fashion headers should have if guards to stop them being included multiple times in an object file. Done in an attempt to fix the current WASM build failures e.g., rust-lld: error: duplicate symbol: WASM32_INT_SIZE >>> defined in /home/tobin/.cache/cargo/wasm32-unknown-unknown/release/deps/libsecp256k1_sys-26edc0990a3ac6e5.rlib(precomputed_ecmult_gen.o) >>> defined in /home/tobin/.cache/cargo/wasm32-unknown-unknown/release/deps/libsecp256k1_sys-26edc0990a3ac6e5.rlib(precomputed_ecmult.o) This seems valuable to have even if it does not fix the build issue.
- Loading branch information