You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you provide the source code of the lib.zig and exe.zig files that you attempted this with? (Or alternatively a reduced version that still causes the issue for you?)
But the method of using Dynlib collapsed.
I assume you mean that the built executable crashed at the point that it would execute a function from the dynamic/shared library?
Zig Version
0.14.0-dev.1860+2e2927735
Steps to Reproduce and Observed Behavior
I just try the DLL function. There are many problems.
Create DLL and EXE by default, and use the command line link to occur.
But the method of using Dynlib can be used normally.
Later, after I tried -fno -lld, the link was directly commanded, which was normal.
But the method of using Dynlib collapsed.
Finally, I tried to use -lc to replace someone's Dynlib implementation. As a result, both methods can be used normally.
Expected Behavior
run is ok.
The text was updated successfully, but these errors were encountered: