about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2018-03-11 16:44:05 -0700
committerNicholas Allegra <comex@Nicholass-iMac-7.local>2018-03-15 17:17:10 -0700
commitec49234f44adbaf858efa646df67a41055fc905d (patch)
tree3576c87e7bc7ceee63ce5cb10537d65c69759fba /src/rustllvm/RustWrapper.cpp
parent178becdd7c86d87b24951af18e4b7d45f3e1e7bc (diff)
downloadrust-ec49234f44adbaf858efa646df67a41055fc905d.tar.gz
rust-ec49234f44adbaf858efa646df67a41055fc905d.zip
Support extra-verbose builds:
- The bootstrap crate currently passes -v to Cargo if itself invoked
with -vv.  But Cargo supports -vv (to show build script output), so make
bootstrap pass that if itself invoked with -vvv.  (More specifically,
pass N '-v's to Cargo if invoked with N+1 of them.)

- bootstrap.py currently tries to pass on up to two '-v's to cargo when
building bootstrap, but incorrectly ('-v' is marked as 'store_true', so
argparse stores either False or True, ignoring multiple '-v's).  Fix
this, allow passing any number of '-v's, and make it consistent with
bootstrap's invocation of Cargo (i.e. subtract one from the number of
'-v's).

- Also improve bootstrap.py's config.toml 'parsing' to support arbitrary
verbosity levels, + allow command line to override it.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions