Don't separately rebuild crates for the build platform (#35084)
macos:
- `cargo build`: 1838 -> 1400
- `cargo build -r`1891 -> 1400
linux:
- `cargo build`: 1893 -> 1455
- `cargo build -r`: 1893 -> 1455
windows:
- `cargo build`: 1830 -> 1392
- `cargo build -r`: 1880 -> 1392
We definitely want this change for debug builds, for release builds it's
_possible_ that it pessimizes the critical path, but we'll see if it
impacts CI times before merging.
Release Notes:
- N/A
---------
Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>
a2408f353bJulia Ryan committed on 7/25/2025, 1:12:55 PM· committed by GitHubparent9071341