summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-06 12:06:15 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-06 16:10:30 -0800
commit28e0046828fb3d3ae462ae1cb65c3f3e1b68448e (patch)
treec791d8e4e7e104811c9116364dbb33d7ad281b1a /eclass/cargo.eclass
parentapp-text/txt2tags: [QA] Remove redundant variables (diff)
downloadgentoo-28e0046828fb3d3ae462ae1cb65c3f3e1b68448e.tar.gz
gentoo-28e0046828fb3d3ae462ae1cb65c3f3e1b68448e.tar.bz2
gentoo-28e0046828fb3d3ae462ae1cb65c3f3e1b68448e.zip
cargo.eclass: use verbose cargo invocations
Default output just prints crate name. With -vv we can see all cargo options and rustc args. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'eclass/cargo.eclass')
-rw-r--r--eclass/cargo.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 5b6d1f050f17..13dd5c355fb3 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -146,7 +146,7 @@ cargo_src_compile() {
export CARGO_HOME="${ECARGO_HOME}"
- cargo build -j $(makeopts_jobs) $(usex debug "" --release) "$@" \
+ cargo build -vv -j $(makeopts_jobs) $(usex debug "" --release) "$@" \
|| die "cargo build failed"
}
@@ -156,7 +156,7 @@ cargo_src_compile() {
cargo_src_install() {
debug-print-function ${FUNCNAME} "$@"
- cargo install -j $(makeopts_jobs) --root="${ED}/usr" $(usex debug --debug "") "$@" \
+ cargo install -vv -j $(makeopts_jobs) --root="${ED}/usr" $(usex debug --debug "") "$@" \
|| die "cargo install failed"
rm -f "${ED}/usr/.crates.toml"
@@ -169,7 +169,7 @@ cargo_src_install() {
cargo_src_test() {
debug-print-function ${FUNCNAME} "$@"
- cargo test -j $(makeopts_jobs) $(usex debug "" --release) "$@" \
+ cargo test -vv -j $(makeopts_jobs) $(usex debug "" --release) "$@" \
|| die "cargo test failed"
}