Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: How to perform reproducible builds on Windows?
Even without using any additional dependencies, just a hello world program, compiling it twice in the same environment produces different binaries. I used diffoscope
to examine the differences: executables compiled with the GNU toolchain have different headers, while those compiled with the MSVC toolchain even differ at the assembly level (I’m not sure why this difference is so huge). I tried searching on GitHub but couldn’t find a clear solution. Please tell me if there is a simple way to solve this, such as adding a specific parameter somewhere.
2 posts - 2 participants
🏷️ Rust_feed