Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upOption for rustc to build the smallest executable possible? #56687
Comments
This comment has been minimized.
This comment has been minimized.
|
Please post questions like this on internals.rust-lang.org; we keep the issue tracker for bugs only. Thanks! |
steveklabnik
closed this
Dec 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ehouarn-perret commentedDec 10, 2018
•
edited
I was reading this link: https://lifthrasiir.github.io/rustlog/why-is-a-rust-executable-large.html and it kinda makes sense bout why Rust executable are relatively big without any optimization (actually a bit scary when I compare to Go executable which include a GC...) but still surprise that the --release flag does not make it that smaller out of the box.
I am wondering if there is any plan to bring another build (via an option or something not too obscure) option that would make the smallest possible Rust, out of the box?