Fixes 4037. Enable backtrace on run cmd.

This commit is contained in:
nwin 2014-11-23 10:51:46 +01:00
parent e38e20da65
commit 45a4236fb0

View file

@ -26,8 +26,10 @@ class MachCommands(CommandBase):
'params', default=None, nargs='...',
help="Command-line arguments to be passed through to Servo")
def run(self, params):
env = self.build_env()
env["RUST_BACKTRACE"] = "1"
subprocess.check_call([path.join("target", "servo")] + params,
env=self.build_env())
env=env)
@Command('doc',
description='Generate documentation',