You are not logged in.
pacman-bintrans package size: 4.8 MB
but using `$ cargo build` on github repo result a 83 MB executable
why?
Last edited by mahdi (2021-12-18 08:07:13)
Offline
If you really just used a plain `cargo build` that'd probably be why - you should do a release build, and you can check the PKGBUILD to confirm exactly how it is built. I'd guess you also didn't strip the binary, but even that'd only account for about 10MB as seen below which is built just from a git clone.
$ ls -lh target/release/pacman-bintrans
-rwxr-xr-x 2 jmcclure jmcclure 14.4M Dec 17 20:53 target/release/pacman-bintrans*
$ strip target/release/pacman-bintrans
$ ls -lh target/release/pacman-bintrans
-rwxr-xr-x 2 jmcclure jmcclure 4.8M Dec 17 20:53 target/release/pacman-bintrans*Last edited by Trilby (2021-12-18 03:00:37)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you You were right
(I'm not expert)
Offline