diff --git a/bearssl.nim b/bearssl.nim index d0db82a..1553569 100644 --- a/bearssl.nim +++ b/bearssl.nim @@ -8,3 +8,5 @@ ## those terms. import bearssl/[decls, errors] export decls, errors + +when defined(nimHasUsed): {.used.} diff --git a/tests/test1.nim b/tests/test1.nim index b30580e..ed80177 100644 --- a/tests/test1.nim +++ b/tests/test1.nim @@ -7,7 +7,5 @@ import unittest import bearssl -when defined(nimHasUsed): {.used.} - test "dummy": check true