mirror of
https://github.com/servo/servo.git
synced 2025-07-03 13:33:39 +01:00
Fixes 4037. Enable backtrace on run cmd.
This commit is contained in:
parent
e38e20da65
commit
45a4236fb0
1 changed files with 3 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue