Closed R3D9477 closed 6 years ago
create a file inside your src
folder, named nim.cfg
and put the following content inside it:
threads:on
You might also remove the --threads:on
from your build_c_debug.nims
file
@RSDuck thanks!
Adding nim.cfg
works, but vscode-nim
would ignore settings in config.nims
which shall be of the same functionality of nim.cfg
as the documentation said
Hi. I using type Channel and see that (also autocompletion doen't work; probably I must define something "--threads:on" for Nim's parser/autocompletion?): But project compiles without errors and works fine. What I'm doing wrong? thr_spawned_channels.zip