Comment

Comment by vladvasiliu

The site and repo readme are quite light on details on how this works.

Does it do anything else besides using sccache and lld/zld? I'd expect so, since these tools don't require rust nightly, whereas fleet does.

---

Edit:

After a quick look over the code, it also sets codegen units to 256, but doesn't seem to do anything else.

I see the same improvements adding manually sccache and mold to ~/.cargo/config.toml when building volt, without touching the repo's Cargo.toml.

standard rust config: 1m20s

sccache + mold: 30s

I ran the tests with Rust 1.60.0, on Linux, on an AMD 5850U (6 core, mobile).

parent vladvasiliu 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton