> (3) there's a second binary file involved (beyond zig1.wasm): > msdos-stub.bin. unlike the WASM, there does not appear to be any > way to build this from sources available in the source package, > so it will probably have to come out. it's only used in the COFF > linking code, so that capability will probably be excised. i've > mailed the upstream author asking for clarification here.
good news on this front: the file is essentially ten machine code instructions. we're going to turn these into an inline constant with comment and kill the file. it's the exact same content, but the presentation is different, and IMHO this is DFSG-compatible (we'll see what ftpmasters have to say). a bug has been filed upstream by the project author, and i'm planning on implementing it this evening: https://github.com/ziglang/zig/issues/22487