I’m trying to create a Windows 32-bit exe. For this, I’m trying out a “Hello World” Message box from this gist. It seems that even with -C lto the file size is ~750K. After compression with upx, it’s about 360K.
Are there any ways to reduce the file further?
This is still using llvm, right? Is there a way to use the Visual Studio infrastructure? I’m currenltly on 1.0 stable, but I’m ok with trying out the nightlies.
My Cargo project has this release profile:
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
Thanks in advance for your insights!