Skip to content

Commit bbf1bf4

Browse files
committed
Import custom WASM header
`sanit_checks_for_wasm()` is failing because the WASM consts are not defined. They are defined in a custom header, we can now include this in the vendored `libsecp256k1` code so that our unit tests pass.
1 parent 818ba54 commit bbf1bf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

secp256k1-sys/depend/secp256k1/src/secp256k1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include "../include/secp256k1.h"
1010
#include "../include/secp256k1_preallocated.h"
11+
#include "../../../wasm-sysroot/wasm.h"
1112

1213
#include "assumptions.h"
1314
#include "util.h"

0 commit comments

Comments
 (0)