Remix.run Logo
▲ karavelov 2 hours ago

Why not use LLD for linking Rust? You already must have the LLVM for Rust to be buildable, so that do not add any dependency.

▲n8henrie an hour ago | parent | next [-]

Agreed -- not my wheelhouse, but couldn't you just build rust earlier in your process using LLD, then build mold, then build everything else?

Would that meant that building rust is slower, but everything else is the same, and you don't have to maintain a fork of another complex project?

▲as-182 2 hours ago | parent | prev [-]

Because mold is faster. Linking is a significant bottleneck when building large projects.

▲someonebaggy 40 minutes ago | parent | next [-]

The complaint is about bootstrapping, where speed is of little relevance.

▲mort96 an hour ago | parent | prev [-]

But we're just talking for bootstrapping Rust here.