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
This commit is contained in:
commit
7f93d4aa0d
5 changed files with 46 additions and 9 deletions
|
@ -812,7 +812,7 @@ impl<'a> Resolver<'a> {
|
|||
stability::report_unstable(
|
||||
self.session,
|
||||
feature,
|
||||
reason,
|
||||
reason.to_opt_reason(),
|
||||
issue,
|
||||
None,
|
||||
is_soft,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue