mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Use Cargo's target directory sharing.
This speeds up `./mach build --dev` followed by `./mach build-cef` by a large amount, and also speeds up other build combos found in our CI.
This commit is contained in:
parent
ce30807be5
commit
a0237085c6
14 changed files with 31 additions and 30 deletions
|
@ -147,7 +147,7 @@ class MachCommands(CommandBase):
|
|||
opts = params or []
|
||||
features = []
|
||||
|
||||
base_path = path.join("components", "servo", "target")
|
||||
base_path = self.get_target_dir()
|
||||
release_path = path.join(base_path, "release", "servo")
|
||||
dev_path = path.join(base_path, "debug", "servo")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue