News for hackers. Stuff that matters.
Re:"Why is the Rust compiler so slow?" by MindSpunk on Thursday June 26, 2025 @08:43PM (#44392867)
The 'essentially no dependencies' isn't entirely true. It depends on the 'windows' crate, which is Microsoft's auto-generated Win32 bindings. The 'windows' crate is huge, and would be leading to hundreds of thousands of LoC being pulled in.

There's some other dependencies in there that are only used when building for test/benchmarking like serde, zstd, and criterion. You would need to be certain you're building only the library and not the test harness to be sure those aren't being built too.

There are no comments on this comment yet.