This looks like a zig issue, but just in case somebody has faced the same problem. I am compiling a library (in the context of fmu.nim). For some reason the windows version seems to work fine, but the linux version fails with something like:
Could not load the DLL: /tmp/fmucktmpfEiTcl/binaries/linux64/inc.so: cannot allocate memory in static TLS block
I am compiling using zigcc.
These are the two jobs where the windows version works fine while the linux version fails.
I think it is related to this issue, but I don't know if somebody else has experience this, and if there is a workaround.