how to link using mold? #288
Unanswered
dzmitry-lahoda
asked this question in
Q&A
Replies: 1 comment
-
Mold will probably not make a difference. Did you try building without zigbuild, was that slow too and suddenly faster with mold? If you have not verified such why do you think mold would make a difference? What you'll find is the default memory allocator in musl is slow (notably at multi-thread workloads), builds can be 2-3x slower on musl to complete than with glibc cargo. A way to speed this up is to run cargo with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We build via zigbuild static release binary with musl. It is slow.
We thinking to make build faster with https://github.com/rui314/mold .
How I can use mold?
Beta Was this translation helpful? Give feedback.
All reactions