From 72d1980c8770ed2e6fb30c7f297b835d43aa925d Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Fri, 16 Aug 2024 10:43:54 +0200 Subject: [PATCH] Use correct header file for `blst_aux` ABI (#179) The functions in `blst_aux_abi.nim` require `blst_aux.h` not `blst.h`. --- blscurve/blst/blst_aux_abi.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blscurve/blst/blst_aux_abi.nim b/blscurve/blst/blst_aux_abi.nim index 78e8572..e69d930 100644 --- a/blscurve/blst/blst_aux_abi.nim +++ b/blscurve/blst/blst_aux_abi.nim @@ -1,7 +1,7 @@ # blst_aux.h lists unstable interfaces that might be promoted to blst.h depending on their worthiness # 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.} @@ -15,4 +15,3 @@ proc blst_derive_child_eip2333*( child_index: uint32) {.pop.} -