]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #98770 - klensy:no-string-dupes-ugly, r=cjgillot
authorbors <bors@rust-lang.org>
Mon, 25 Jul 2022 05:27:17 +0000 (05:27 +0000)
committerbors <bors@rust-lang.org>
Mon, 25 Jul 2022 05:27:17 +0000 (05:27 +0000)
commit7f93d4aa0dc4ac071c617e0e07d2758e3bb388f9
tree2b340fb2aace0ff4b884e6c15e1a2f3fd31cc6e0
parent530c0a81d50c6e1c9b1bdee0970d27af02ca49be
parentb38c94857df02a402ba46bc559d5bc8dc5256023
Auto merge of #98770 - klensy:no-string-dupes-ugly, r=cjgillot

rmeta: avoid embedding `StabilityLevel::Unstable` reason multiple times into .rmeta\.rlib files

Avoids bloating size of some rmeta\rlib files by not placing default string for `StabilityLevel::Unstable` reason multiple times, affects only stdlib\rustc artifacts. For stdlib cuts about 3% (diff of total size for patched\unpatched *.rmeta files of stage1-std) of file size, depending on crates.

fixes #88180
compiler/rustc_span/src/symbol.rs