Forward pragmas to toast

This commit is contained in:
Ganesh Viswanathan 2020-07-14 18:08:59 -05:00
commit 6ffacf92fc
15 changed files with 162 additions and 306 deletions

View file

@ -35,13 +35,13 @@ cPlugin:
cOverride:
proc OPENSSL_die*(assertion: cstring; file: cstring; line: cint) {.importc.}
cPassL(cryptoLPath)
# Skip comments for https://github.com/tree-sitter/tree-sitter-c/issues/44
cImport(@[
basePath / "rsa.h",
basePath / "err.h",
], recurse = true, flags = "-s -c " & FLAGS)
{.passL: cryptoLPath.}
OpensslInit()
echo $OPENSSL_VERSION_TEXT