diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-11 22:38:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-11 22:38:53 +0200 |
| commit | 1e99af514b68d0ff6891fa3cb6a9946c3888caef (patch) | |
| tree | 9a0e27ae2496b1dceefca827032c57c25ab763b9 /compiler/rustc_codegen_gcc | |
| parent | aa6a697a1c75b0aa06954136f7641706edadc2be (diff) | |
| parent | c2e5ee40b699608128654f2b67e0fafa8e1ec8dc (diff) | |
| download | rust-1e99af514b68d0ff6891fa3cb6a9946c3888caef.tar.gz rust-1e99af514b68d0ff6891fa3cb6a9946c3888caef.zip | |
Rollup merge of #122882 - Zoxc:panic-output-panic, r=Amanieu
Avoid a panic in `set_output_capture` in the default panic handler This avoid a panic in the default panic handler by not using `set_output_capture` as `OUTPUT_CAPTURE.with` may panic once `OUTPUT_CAPTURE` is dropped. A new non-panicking `try_set_output_capture` variant of `set_output_capture` is added for use in the default panic handler.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
