aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index b9a555f4ff0..9990def8516 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -333,10 +333,7 @@ class CommandBase(object):
env["CARGO_HOME"] = self.config["tools"]["cargo-home-dir"]
- if self.use_stable_rust():
- env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "ports/stable-rust/target")
- elif "CARGO_TARGET_DIR" not in env:
- env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target")
+ env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target")
if extra_lib:
if sys.platform == "darwin":