mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
7e3422fab2
Use ReadCache for archive reading in bootstrap Address expensive archive reading in bootstrap. This fixes https://github.com/rust-lang/rust/issues/133268 Enable the `std` feature of `object` to use `ReadCache` instead of reading the entire archive file into memory to check for headers. This takes minimal extra time to compile compared to introducing other expensive dependencies to `bootstrap`. r? jieyouxu