Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc: Don't read both rlib and dylib metadata
This is an optimization which is quite impactful for compiling small crates. Reading libstd's metadata takes about 50ms, and a hello world before this change took about 100ms (this change halves that time). Recent changes made it such that this optimization wasn't performed, but I think it's a better idea do to this for now. See rust-lang#10786 for tracking this issue.
- Loading branch information