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
In a Rust app, I tried to replace my dirty manual command-line parsing by structopt.
It works well and the source code is far better. However, it makes my resulting binary 6× bigger. For instance the release+stripped version grows from 600K to 4M 1.4M, so at least 85% 57% of the binary is related to command-line parsing…
Are there any tips to reduce the final binary size?
EDIT: In fact, 4M is the non-stripped binary, the stripped is 1.4M (this is still bigger than 600K, but this makes a difference).
The text was updated successfully, but these errors were encountered:
In a Rust app, I tried to replace my dirty manual command-line parsing by
structopt
.It works well and the source code is far better. However, it makes my resulting binary 6× bigger. For instance the release+stripped version grows from 600K to
4M1.4M, so at least85%57% of the binary is related to command-line parsing…Are there any tips to reduce the final binary size?
EDIT: In fact, 4M is the non-stripped binary, the stripped is 1.4M (this is still bigger than 600K, but this makes a difference).
The text was updated successfully, but these errors were encountered: