Skip to content

Commit

Permalink
Rollup merge of #125355 - michaelwoerister:rust_log_force_capture, r=…
Browse files Browse the repository at this point in the history
…nnethercote

Use Backtrace::force_capture instead of Backtrace::capture in rustc_log

After rust-lang/rust#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.
  • Loading branch information
fmease authored May 22, 2024
2 parents b5f7d70 + 0b2bf65 commit da5ee1c
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit da5ee1c

Please sign in to comment.