about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-12 05:06:03 +0000
committerbors <bors@rust-lang.org>2024-01-12 05:06:03 +0000
commit5431404b87967c69438ea1e698edbe96505f0798 (patch)
tree4d4288a59e59307b281704a472646cb5ba83e782 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent6029085a6f7b2a15a43f83bcea730d9786d7d5a1 (diff)
parent12e6bcfcabee7bfa9130bb5fcd4b8ab23172b1ee (diff)
downloadrust-5431404b87967c69438ea1e698edbe96505f0798.tar.gz
rust-5431404b87967c69438ea1e698edbe96505f0798.zip
Auto merge of #118548 - Enselic:bench-padding, r=thomcc,ChrisDenton
libtest: Fix padding of benchmarks run as tests

### Summary

The first commit adds regression tests for libtest padding.

The second commit fixes padding for benches run as tests and updates the blessed output of the regression tests to make it clear what effect the fix has on padding.

Closes #104092 which is **E-help-wanted** and **regression-from-stable-to-stable**

### More details

Before this fix we applied padding _before_ manually doing what `convert_benchmarks_to_tests()` does which affects padding calculations. Instead use `convert_benchmarks_to_tests()` first if applicable and then apply padding afterwards so it becomes correct.

Benches should only be padded when run as benches to make it easy to compare the benchmark numbers. Not when run as tests.

r? `@ghost` until CI passes.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions