muslrust icon indicating copy to clipboard operation
muslrust copied to clipboard

It would be awesome to use mold to build

Open frederikhors opened this issue 2 years ago • 3 comments

It would be awesome to use mold to build.

What do you think about?

frederikhors avatar Jan 23 '23 21:01 frederikhors

Ah, yes, I think that's a good idea. Not sure how easy it is to integrate in this musl setup and haven't played with it personally, so a PR for an initial setup of this would be helpful!

Would ideally want to test it a bit to ensure that a normal setup works / non-breaking (as they claim), and verify that it is faster to link in a simple webapp case, but if those two things are true, then it would make sense to use here as a default.

clux avatar Jan 29 '23 12:01 clux

I think also starting with lld first will be good: https://nnethercote.github.io/perf-book/compile-times.html#linking.

frederikhors avatar Feb 06 '23 18:02 frederikhors