diff --git a/servo/python/servo/devenv_commands.py b/servo/python/servo/devenv_commands.py index e66fa7b457de..dae6a38b0baa 100644 --- a/servo/python/servo/devenv_commands.py +++ b/servo/python/servo/devenv_commands.py @@ -284,6 +284,9 @@ class MachCommands(CommandBase): # Reset self.config["tools"]["rust-root"] self._rust_version = None self.set_use_stable_rust(False) + + # Reset self.config["tools"]["cargo-root"] + self._cargo_build_id = None self.set_cargo_root() self.fetch()