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
Hi, first of all, I apologize for using an issue to ask a question (I couldn’t find another channel to do so).
I'm pretty new to Rust, and this is my first time using cargo-dist —by the way, it's awesome!
However, I noticed that when I build my project locally on my Windows pc using cargo build --profile dist --target x86_64-pc-windows-msvc, the generated binary is 839kb. But when cargo-dist builds it in CI using the same target, the final .exe is 953kb, which is over 10% larger.
I've been trying to figure this out for hours but couldn’t find the cause. It’s not that I’m too concerned about the binary size, I’m just wondering if I’m doing something wrong or if there’s something else I need to configure. Or at the very least, I’d like to understand why this is happening.
Has anyone encountered the same behavior or knows why this is happening?
Thanks!!
The text was updated successfully, but these errors were encountered:
Hi, first of all, I apologize for using an issue to ask a question (I couldn’t find another channel to do so).
I'm pretty new to Rust, and this is my first time using
cargo-dist
—by the way, it's awesome!However, I noticed that when I build my project locally on my Windows pc using
cargo build --profile dist --target x86_64-pc-windows-msvc
, the generated binary is 839kb. But whencargo-dist
builds it in CI using the same target, the final.exe
is 953kb, which is over 10% larger.I've been trying to figure this out for hours but couldn’t find the cause. It’s not that I’m too concerned about the binary size, I’m just wondering if I’m doing something wrong or if there’s something else I need to configure. Or at the very least, I’d like to understand why this is happening.
Has anyone encountered the same behavior or knows why this is happening?
Thanks!!
The text was updated successfully, but these errors were encountered: