bootstrap: Optionally print a backtrace if a command fails#153992
bootstrap: Optionally print a backtrace if a command fails#153992jyn514 wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
r? @jieyouxu rustbot has assigned @jieyouxu. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@bors r+ rollup |
|
@bors r- (sorry, to ask some questions :) ) With this change, it would print a backtrace even when the failure behavior is Ignore, that doesn't seem like something we want? Also, bootstrap already prints where was the corresponding command created (file + line) and where was it executed (file + line). But I suppose that it wasn't enough for you and you wanted a full backtrace? |
correct, yes. I agree this doesn't make a lot of sense, I'll force off backtraces for Ignore.
Yes. Specifically I was trying to debug the command infra itself, to figure out why an unsuccessful command exited the process instead of delaying the failure until later. |
|
Hm, I wonder if you are looking for sth more like |
|
I think we already have multiple verbosity levels, so maybe we can enable the backtrace only for |
I found this quite useful for debugging why a command was failing eagerly (it turns out that
.delay_failure()is ignored iffail_fastis enabled).