respect CARGOFLAGS in bootstrap.py
This commit is contained in:
parent
0004b3b984
commit
6674dcda7a
1 changed files with 4 additions and 0 deletions
|
@ -917,6 +917,10 @@ class RustBuild(object):
|
|||
args.append("--color=always")
|
||||
elif color == "never":
|
||||
args.append("--color=never")
|
||||
try:
|
||||
args += env["CARGOFLAGS"].split()
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
# Run this from the source directory so cargo finds .cargo/config
|
||||
run(args, env=env, verbose=self.verbose, cwd=self.rust_root)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue