nim-lang / Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
https://nim-lang.org
Other
16.56k stars 1.47k forks source link

`setupForeignThreadGc` is not available when compiling with `-d:useNimRtl` #10235

Open zah opened 5 years ago

zah commented 5 years ago

The following minimal example will fail to compile with nim c -d:useNimRtl --threads:on

setupForeignThreadGc()
zah commented 5 years ago

This is one of many issues that were uncovered while trying to test existing projects with --hotCodeReloading:on. It would be really nice if someone adds supports in testament for running the entire test suite with -d:useNimRtl.