Even if the specific target is set to default one, cargo still compiles everything from scratch.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Cargo cache: why different triple use the same cache? | 1 | 569 | January 23, 2020 | |
| When set target in config, cargo build all targets | 0 | 502 | April 23, 2018 | |
| Setting global `CARGO_TARGET_DIR` still results in the crate being built multiple times | 7 | 407 | September 12, 2025 | |
|
So many crates break when you set target-dir in ~/.cargo/config
|
12 | 1099 | May 14, 2022 | |
|
Rust crates mut be pre compiled
|
21 | 1176 | June 26, 2026 |