Rollup merge of #49083 - oli-obk:mopsgeschwindigkeit, r=michaelwoerister
Only generate miri backtraces if explicitly requested fixes #49072 fixes #48888 r? @michaelwoerister
This commit is contained in:
commit
ef9581e757
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ pub struct EvalError<'tcx> {
|
|||
|
||||
impl<'tcx> From<EvalErrorKind<'tcx>> for EvalError<'tcx> {
|
||||
fn from(kind: EvalErrorKind<'tcx>) -> Self {
|
||||
let backtrace = match env::var("RUST_BACKTRACE") {
|
||||
let backtrace = match env::var("MIRI_BACKTRACE") {
|
||||
Ok(ref val) if !val.is_empty() => Some(Backtrace::new_unresolved()),
|
||||
_ => None
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue