Bug 1381353 - Set RUST_BACKTRACE=1 during mach run; r=ted
Having Rust dump a stack on panic seems like a useful on-by-default feature. MozReview-Commit-ID: ABYTArsMTFh
This commit is contained in:
@@ -1326,6 +1326,7 @@ class RunProgram(MachCommandBase):
|
||||
extra_env = {
|
||||
'MOZ_DEVELOPER_REPO_DIR': self.topsrcdir,
|
||||
'MOZ_DEVELOPER_OBJ_DIR': self.topobjdir,
|
||||
'RUST_BACKTRACE': '1',
|
||||
}
|
||||
|
||||
if not enable_crash_reporter:
|
||||
|
||||
Reference in New Issue
Block a user