11 MB Binary? #20

Closed
opened 2023-08-20 14:49:07 +00:00 by camAtGitHub · 1 comment
camAtGitHub commented 2023-08-20 14:49:07 +00:00 (Migrated from github.com)

Hi,

I compiled turbocommit and noticed the binary is 11 MB (Megabytes).
Am I doing something wrong for it to be that size?

Thanks

Hi, I compiled turbocommit and noticed the binary is 11 MB (Megabytes). Am I doing something wrong for it to be that size? Thanks
dikkadev commented 2023-08-20 18:30:34 +00:00 (Migrated from github.com)

You are not doing anything wrong. By default, everything is statically linked. There are guides like min-sized-rust to address the size of rust binaries.

If the 11Mb is a concern to you, feel free to fork this and adapt it for a smaller binary size and consider making a PR if you do so.

You are not doing anything wrong. By default, everything is statically linked. There are guides like [min-sized-rust](https://github.com/johnthagen/min-sized-rust) to address the size of rust binaries. If the 11Mb is a concern to you, feel free to fork this and adapt it for a smaller binary size and consider making a PR if you do so.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lab/turboCommit#20
No description provided.