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
This behavior was changed in #17815. When upgrading from a tagged release to a master version I recommend checking breaking changes before upgrading. Also, the language reference is worth checking as it was updated with this change also. I will, however, keep this issue open as the compile-error you received is incorrect, as building dynamic libraries is supported for this target (but not what you want in your case).
Thanks for the quick help. Now that I know what to look for, I found it in the Language Reference (https://ziglang.org/documentation/master/#Freestanding). I missed it before. I was not aware that the breaking changes for master are already documented.
Zig Version
0.12.0-dev.2586+3c7970dc4
Steps to Reproduce and Observed Behavior
zig build-lib src/foo.zig -OReleaseSmall -target wasm32-freestanding -mcpu baseline+simd128 -rdynamic -dynamic
error: dynamic linking unavailable on the specified target
Expected Behavior
The same command works in Zig 0.11 and produces a .wasm file.
The text was updated successfully, but these errors were encountered: