Hello world fails with this error:
The application was unable to start correctly (0xc000007b). Click OK to close the application
building with nim r --threads:on hello.nim
without --threads:on it works
with the file:
On windows 11 nim 1.6.4 on a fresh install
This worked on nim 1.6.0

I completely deleted .choosenim, .nimble, nimcache, cleared the path variables, then reinstalled nim once by downloading from the website, which didn't work, then again with choosenim, which also didn't work.
Nim Compiler Version 1.6.4 [Windows: amd64] Compiled at 2022-02-09 Copyright (c) 2006-2021 by Andreas Rumpf active boot switches: -d:release