properly fixes #13758 so that import std/macros stays legal (#14291)

* properly fix https://github.com/nim-lang/Nim/issues/12389
* use --lib:lib in koch.nim.cfg instead
* third time is the charm
This commit is contained in:
Timothee Cour 2020-05-11 23:27:47 -07:00 • committed by GitHub
commit b8ec07f19e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 7 deletions

View file

@ -93,8 +93,7 @@ since (1, 1):
type StaticParam*[value: static type] = object
## used to wrap a static value in `genericParams`
# NOTE: See https://github.com/nim-lang/Nim/issues/13758 - `import std/macros` does not work on OpenBSD
import macros
import std/macros
macro genericParamsImpl(T: typedesc): untyped =
# auxiliary macro needed, can't do it directly in `genericParams`