зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #3382 - Fix `mach cargo` is missing (from saneyuki:mach)
Source-Repo: https://github.com/servo/servo Source-Revision: aa935c7b027bf00bf1f6756b0f5e1f4d0866c964
This commit is contained in:
Родитель
4399584659
Коммит
12b129555a
|
@ -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())
|
||||
|
|
Загрузка…
Ссылка в новой задаче