diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-05-22 23:41:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-22 23:41:12 +0200 |
| commit | c7d4c54cc81955d7423a7da1b27c499b5de2f218 (patch) | |
| tree | bbec2c9199a83997a3478a266b7010a830b11bef /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | d2f0df7713588dfe7ea54163ac5c93a0e8e38002 (diff) | |
| parent | 8f11f48a027888b71efbb1769b432606e824e577 (diff) | |
| download | rust-c7d4c54cc81955d7423a7da1b27c499b5de2f218.tar.gz rust-c7d4c54cc81955d7423a7da1b27c499b5de2f218.zip | |
Rollup merge of #125355 - michaelwoerister:rust_log_force_capture, r=nnethercote
Use Backtrace::force_capture instead of Backtrace::capture in rustc_log After https://github.com/rust-lang/rust/pull/125063, the compiler and custom drivers won't automatically set the RUST_BACKTRACE environment variable anymore, so we have to call `Backtrace::force_capture` instead of `Backtrace::capture` to unconditionally capture a backtrace. rustc_log handles enabling backtraces via env vars itself, so we don't want RUST_BACKTRACE to make a difference.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
