diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-09-17 11:51:56 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-09-17 11:52:05 +0900 |
commit | b0cd45e2da6b00c69703b528083624a0c82fb50b (patch) | |
tree | 1553350e4945aa539cd57f3f245cf50c66ca315f /python/servo | |
parent | 1544db8bb9fc7b27282bbf0555a45a662930f7b3 (diff) | |
download | servo-b0cd45e2da6b00c69703b528083624a0c82fb50b.tar.gz servo-b0cd45e2da6b00c69703b528083624a0c82fb50b.zip |
Fix `mach cargo` is missing
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/devenv_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py index b44894395e6..402c18f2767 100644 --- a/python/servo/devenv_commands.py +++ b/python/servo/devenv_commands.py @@ -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()) |