bug 1473121 - Pass -vv to cargo build instead of just --verbose when verbose output is requested. r=gps

Many Rust build scripts compile C/C++ source files with the cc crate, but
cargo doesn't print the output of build scripts unless you pass `-vv`, so
pass that instead of just `--verbose` to get that output in automation and
builds where verbose output was requested.

MozReview-Commit-ID: EUazlKWFsDw

--HG--
extra : rebase_source : 137882c4e970bb0e7b28cc36d7f8e436b59a8011
This commit is contained in:
Ted Mielczarek 2018-07-03 14:17:31 -04:00
parent bab63d85df
commit 41895658f3

View File

@ -817,10 +817,10 @@ cargo_build_flags += --frozen
cargo_build_flags += --manifest-path $(CARGO_FILE)
ifdef BUILD_VERBOSE_LOG
cargo_build_flags += --verbose
cargo_build_flags += -vv
else
ifdef MOZ_AUTOMATION
cargo_build_flags += --verbose
cargo_build_flags += -vv
endif # MOZ_AUTOMATION
endif # BUILD_VERBOSE_LOG