diff options
| author | bors <bors@rust-lang.org> | 2023-05-21 17:10:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-21 17:10:02 +0000 |
| commit | aee196fb14207584ac384c502309b67d35d0555a (patch) | |
| tree | e985c27c0c4f96e45f549ac9757e7e562d9b6baf /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | a4fb4147ebd2816d7a756edd13cb4a285c083e77 (diff) | |
| parent | 56eb08735be451a3351543bf5c98d0e51c9fa036 (diff) | |
| download | rust-aee196fb14207584ac384c502309b67d35d0555a.tar.gz rust-aee196fb14207584ac384c502309b67d35d0555a.zip | |
Auto merge of #2899 - saethlin:measureme-cleanup, r=RalfJung
Try to ensure measureme output is valid when the interpreter is interrupted Dropping our `measureme::Profiler` will have the profiler flush its output buffer and write out its string table. If the profiler's `Drop` impl does not run, the output file is not usable. This approach has zero runtime overhead.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
