]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #99062 - Kobzol:lld-icf, r=jyn514
authorbors <bors@rust-lang.org>
Sun, 17 Jul 2022 21:42:52 +0000 (21:42 +0000)
committerbors <bors@rust-lang.org>
Sun, 17 Jul 2022 21:42:52 +0000 (21:42 +0000)
commit246f66a905c2815f2c9b9c3d6b1e0649f3360ef8
tree2f72498c75bdb858783ebc2b7acc6add4c23c43d
parent263edd43c5255084292329423c61a9d69715ebfa
parent97f6f958796bccf765a2e3038a40ecf5a8bb355a
Auto merge of #99062 - Kobzol:lld-icf, r=jyn514

Use ICF (identical code folding) for building rustc

It seems that ICF (identical code folding) is able to remove duplicated functions created by monomorphization from binaries, resulting in smaller binary size and better i-cache utilization. Let's see if it helps for `rustc`.

I'm not sure if `lld` is even used for linking `rustc` on the Linux `dist` builder, let's see.