Reducing Rust Incremental Compilation Times on macOS by 70%

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Cargo

    The Rust package manager

  • It works for me to put it in `~/.cargo/config.toml` . Actually these two profile from Cargo.toml and config.toml seem to be merged here: https://github.com/rust-lang/cargo/blob/163097c/src/cargo/core/profiles.rs#L38

  • rust-analyzer

    Discontinued A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer] (by rust-analyzer)

  • In rust-analyzer, we’ve been disabling debuginfo altogether: https://github.com/rust-analyzer/rust-analyzer/blob/2ace128dd4c9c2e5d59d21402da53654acb0c7e4/Cargo.toml#L7

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • zld

    Discontinued A faster version of Apple's linker

  • There is also zld (https://github.com/michaeleisel/zld) which might get you a further speed up.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts