Use correct header file for `blst_aux` ABI (#179)

The functions in `blst_aux_abi.nim` require `blst_aux.h` not `blst.h`.
This commit is contained in:
Etan Kissling 2024-08-16 10:43:54 +02:00 committed by GitHub
parent d5d595a59c
commit 72d1980c87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# blst_aux.h lists unstable interfaces that might be promoted to blst.h depending on their worthiness # blst_aux.h lists unstable interfaces that might be promoted to blst.h depending on their worthiness
# This assumes blst_abi is included # This assumes blst_abi is included
const auxHeaderPath = currentSourcePath.rsplit({DirSep, AltSep}, 1)[0] & "/../../vendor/blst/bindings/blst.h" const auxHeaderPath = currentSourcePath.rsplit({DirSep, AltSep}, 1)[0] & "/../../vendor/blst/bindings/blst_aux.h"
{.push cdecl, importc, header: headerPath.} {.push cdecl, importc, header: headerPath.}
@ -15,4 +15,3 @@ proc blst_derive_child_eip2333*(
child_index: uint32) child_index: uint32)
{.pop.} {.pop.}