We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7638c9f + 4133b16 commit ef9581eCopy full SHA for ef9581e
src/librustc/mir/interpret/error.rs
@@ -20,7 +20,7 @@ pub struct EvalError<'tcx> {
20
21
impl<'tcx> From<EvalErrorKind<'tcx>> for EvalError<'tcx> {
22
fn from(kind: EvalErrorKind<'tcx>) -> Self {
23
- let backtrace = match env::var("RUST_BACKTRACE") {
+ let backtrace = match env::var("MIRI_BACKTRACE") {
24
Ok(ref val) if !val.is_empty() => Some(Backtrace::new_unresolved()),
25
_ => None
26
};
0 commit comments