rustc_attr::Stability inlined a lot of dublicates in rustc dependency crates rmeta's, increasing it's size #88180
Labels
A-metadata
Area: Crate metadata
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-heavy
Issue: Problems and improvements with respect to binary size of generated code.
Look at this place: this
Stability
value looks like const, but still inserted multiple times into *.rmeta file.rust/compiler/rustc_passes/src/stability.rs
Lines 716 to 728 in 9ccf661
For example, text from
reason
(and other fields fromStability
):found 172 times in libaddr2line.rmeta
found 911 times in libhashbrown.rmeta
found 9590 times in libobject.rmeta
@rustbot label: +I-heavy
The text was updated successfully, but these errors were encountered: