diff options
| author | bors <bors@rust-lang.org> | 2024-09-02 00:58:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-02 00:58:50 +0000 |
| commit | e71f9529121ca8f687e4b725e3c9adc3f1ebab4d (patch) | |
| tree | 19fc505cf76ed238abfb7f6a1440a0c0aa1aa7bd /src/librustdoc/json/mod.rs | |
| parent | 94885bc699512cfee8560e73c2a01ee6b4b76563 (diff) | |
| parent | 79b5cfdf834a69fd048f2d904bb53026736e24ad (diff) | |
| download | rust-e71f9529121ca8f687e4b725e3c9adc3f1ebab4d.tar.gz rust-e71f9529121ca8f687e4b725e3c9adc3f1ebab4d.zip | |
Auto merge of #129063 - the8472:cold-opt-size, r=Amanieu
Apply size optimizations to panic machinery and some cold functions * std dependencies gimli and addr2line are now built with opt-level=s * various panic-related methods and `#[cold]` methods are now marked `#[optimize(size)]` Panics should be cold enough that it doesn't make sense to optimize them for speed. The only tradeoff here is if someone does a lot of backtrace captures (without panics) and printing then the opt-level change might impact their perf. Seems to be the first use of the optimize attribute. Tracking issue #54882
Diffstat (limited to 'src/librustdoc/json/mod.rs')
0 files changed, 0 insertions, 0 deletions
