aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/post_build_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r--python/servo/post_build_commands.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 37a4c4e3c72..10ab699aca4 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -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',