clux/muslrust

It would be awesome to use mold to build

frederikhors opened this issue · 2 comments

It would be awesome to use mold to build.

What do you think about?

clux commented

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.

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