On Monday, 7 June 2021 at 19:03:44 UTC, Jack wrote:
actually i didnt so I just added:```d shared static this() { Runtime.initialize(); } shared static ~this() { Runtime.terminate(); } ``` but it didn't change anything
That doesn't work because `Runtime.initialize()` is responsible to execute the module ctors. You could try `pragma(crt_constructor)`[1] instead.
[1] https://dlang.org/spec/pragma.html#crtctor