Pass --target option from mach to cargo

This commit is contained in:
Matt Brubeck 2014-09-09 14:56:51 -07:00
parent 523270c265
commit 965ba08c75

View file

@ -39,6 +39,8 @@ class MachCommands(CommandBase):
opts = []
if release:
opts += ["--release"]
if target:
opts += ["--target", target]
if jobs is not None:
opts += ["-j", jobs]