It looks like the issue is related to the way the DLL is compiled.
It works if I exclude \--noMain, but I'm not sure why: c -d:release --header --app:lib library.nim Run
It looks like the issue is related to the way the DLL is compiled.
It works if I exclude \--noMain, but I'm not sure why: c -d:release --header --app:lib library.nim Run