mirror of
https://github.com/servo/servo.git
synced 2025-06-22 08:08:59 +01:00
Have ./mach cargo
not change to components/servo
.
`ports/android/glut` relies on it executing on the current directory.
This commit is contained in:
parent
cc4ea7507f
commit
14e28f6654
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class MachCommands(CommandBase):
|
||||||
help="Command-line arguments to be passed through to Cargo")
|
help="Command-line arguments to be passed through to Cargo")
|
||||||
def cargo(self, params):
|
def cargo(self, params):
|
||||||
return subprocess.call(["cargo"] + params,
|
return subprocess.call(["cargo"] + params,
|
||||||
env=self.build_env(), cwd=self.servo_crate())
|
env=self.build_env())
|
||||||
|
|
||||||
@Command('update-cargo',
|
@Command('update-cargo',
|
||||||
description='Update Cargo dependencies',
|
description='Update Cargo dependencies',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue