about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-12-30 04:46:52 +0000
committerbors <bors@rust-lang.org>2024-12-30 04:46:52 +0000
commit84e930871f3918d7654b13e0b716857e0980d93f (patch)
treef0ac8de3c37b9dae20d4c1ecc2e5d245fb04f470 /compiler/rustc_codegen_llvm/src/errors.rs
parent8cdc67ed23e486a9f2b3e667a50d9b8782ba4056 (diff)
parent586a805d84630e068b77774f296f14cb29f69aff (diff)
downloadrust-84e930871f3918d7654b13e0b716857e0980d93f.tar.gz
rust-84e930871f3918d7654b13e0b716857e0980d93f.zip
Auto merge of #134866 - osiewicz:write-rlib-bufwriter, r=bjorn3
rustc_codegen_ssa: Buffer file writes in link_rlib

This makes this step take ~25ms on my machine (M3 Max 64GB) for Zed repo instead of ~150ms (on editor crate). Additionally it takes down the time needed for a clean cargo build of ripgrep from ~6.1s to 5.9s.

This change is mostly relevant for dev builds of crates with multiple large CGUs.
I imagine it could be quite relevant for dev scenarios on Windows, but sadly I have no way to measure that myself.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions