Skip to content

Commit

Permalink
Import custom WASM header
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
tcharding committed Mar 29, 2022
1 parent 818ba54 commit bbf1bf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions secp256k1-sys/depend/secp256k1/src/secp256k1.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "../include/secp256k1.h"
#include "../include/secp256k1_preallocated.h"
#include "../../../wasm-sysroot/wasm.h"

#include "assumptions.h"
#include "util.h"
Expand Down

0 comments on commit bbf1bf4

Please sign in to comment.