This is only a guess, but I wonder if _dead code elimination_ is (for some reason) removing the hooks to your library. Try compiling with nim c -d:release --deadCodeElim:off sir
instead. Does that help?
This is only a guess, but I wonder if _dead code elimination_ is (for some reason) removing the hooks to your library. Try compiling with nim c -d:release --deadCodeElim:off sir
instead. Does that help?