mirror of
https://github.com/servo/servo.git
synced 2025-06-23 00:24:35 +01:00
Fix mach cargo
is missing
This commit is contained in:
parent
1544db8bb9
commit
b0cd45e2da
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ class MachCommands(CommandBase):
|
|||
allow_all_args=True)
|
||||
@CommandArgument('params', default=None, nargs='...',
|
||||
help="Command-line arguments to be passed through to Cargo")
|
||||
def run(self, params):
|
||||
def cargo(self, params):
|
||||
return subprocess.call(["cargo"] + params,
|
||||
env=self.build_env())
|
||||
|
||||
|
@ -37,5 +37,5 @@ class MachCommands(CommandBase):
|
|||
allow_all_args=True)
|
||||
@CommandArgument('params', default=None, nargs='...',
|
||||
help="Command-line arguments to be passed through to rustc")
|
||||
def run(self, params):
|
||||
def rustc(self, params):
|
||||
return subprocess.call(["rustc"] + params, env=self.build_env())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue