Exports from imported but unused files are missing

While playing with WebAssembly, I noticed that if I export a function in a file (called b.zig), and I import this file from my main file (called a.zig), then the function from b.zig is exported only if I use some other things from b.zig. I made a minimal example here : a.zig b.zig The compilation ga…

View Post on Scour ↗

More from Ziggit on Scour.

Rate this post to improve your feed:
🌰 Love 👍 Like 👎 Not for me