Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary size is way too big #96

Open
JeremyRand opened this issue Apr 10, 2019 · 1 comment
Open

Binary size is way too big #96

JeremyRand opened this issue Apr 10, 2019 · 1 comment

Comments

@JeremyRand
Copy link
Member

Adding ncdns and dns-prop279 to an Electrum-NMC+txtorcon .tar.xz archive increases the archive's size by 4.6 MiB. (Both Go programs were built for linux/amd64 with Go 1.10.3) This is way too high. It would be highly useful if we could find some way to decrease the binary size here.

@JeremyRand
Copy link
Member Author

Looks like building with -ldflags '-s', which is already done by ncdns-repro, cuts the .tar.xz from 4.6 MiB to 2.8 MiB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant