aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/platform
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/platform')
-rw-r--r--python/servo/platform/base.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/python/servo/platform/base.py b/python/servo/platform/base.py
index 1024ab6c28f..a3909d08c11 100644
--- a/python/servo/platform/base.py
+++ b/python/servo/platform/base.py
@@ -96,13 +96,8 @@ class Base:
return True
def install_crown(self, force: bool) -> bool:
- # We need to override the rustc set in cargo/config.toml because crown
- # may not be installed yet.
- env = dict(os.environ)
- env["CARGO_BUILD_RUSTC"] = "rustc"
-
print(" * Installing crown (the Servo linter)...")
- if subprocess.call(["cargo", "install", "--path", "support/crown"], env=env) != 0:
+ if subprocess.call(["cargo", "install", "--path", "support/crown"]) != 0:
raise EnvironmentError("Installation of crown failed.")
return True