diff options
| author | Matt Jolly <kangie@gentoo.org> | 2025-06-03 11:52:20 +1000 |
|---|---|---|
| committer | Matt Jolly <kangie@gentoo.org> | 2025-06-04 07:36:56 +1000 |
| commit | feae70ce5d0e51e1b31d342592dae3aa4b14a73b (patch) | |
| tree | b89f3fa158fceb5870d924f940f3bfc968b658bd /dev-lang/rust/rust-1.86.0-r2.ebuild | |
| parent | 057daa00036e040231855c45bc2bba039c29cb53 (diff) | |
| download | gentoo-feae70ce5d0e51e1b31d342592dae3aa4b14a73b.tar.gz gentoo-feae70ce5d0e51e1b31d342592dae3aa4b14a73b.tar.bz2 gentoo-feae70ce5d0e51e1b31d342592dae3aa4b14a73b.zip | |
dev-lang/rust: drop build `x.py` verbosity
After discussion with upstream, reduce the number of `v`s passed to
of our `x.py` invocations. There is no documentation on why `-vvv` was
added but it's suspected to be development troubleshooting shrapnel.
`-vv` is retained for tests where the extra verbosity may actually be
useful, however for most cases `-v` is suitable as it includes the
invocation along with any warnings or errors; we probably don't need
thousands of backtraces or diagnostic messages.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'dev-lang/rust/rust-1.86.0-r2.ebuild')
| -rw-r--r-- | dev-lang/rust/rust-1.86.0-r2.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-lang/rust/rust-1.86.0-r2.ebuild b/dev-lang/rust/rust-1.86.0-r2.ebuild index 1c2a241fe42c..087dad7a0941 100644 --- a/dev-lang/rust/rust-1.86.0-r2.ebuild +++ b/dev-lang/rust/rust-1.86.0-r2.ebuild @@ -206,7 +206,7 @@ src_unpack() { # to ensure that all dependencies are present and up-to-date mkdir "${S}/vendor" || die # This also compiles the 'build helper', there's no way to avoid this. - ${EPYTHON} "${S}"/x.py vendor -vvv --config="${T}"/vendor-config.toml -j$(makeopts_jobs) || + ${EPYTHON} "${S}"/x.py vendor -v --config="${T}"/vendor-config.toml -j$(makeopts_jobs) || die "Failed to vendor dependencies" # TODO: This has to be generated somehow, this is from a 1.84.x tarball I had lying around. cat <<- _EOF_ > "${S}/.cargo/config.toml" @@ -633,7 +633,7 @@ src_configure() { } src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vvv --config="${S}"/config.toml -j$(makeopts_jobs) || die + RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -v --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_test() { @@ -689,7 +689,7 @@ src_test() { } src_install() { - DESTDIR="${D}" "${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + DESTDIR="${D}" "${EPYTHON}" ./x.py install -v --config="${S}"/config.toml -j$(makeopts_jobs) || die docompress /usr/lib/${PN}/${SLOT}/share/man/ @@ -779,7 +779,7 @@ src_install() { doins "${T}/provider-${PN}-${SLOT}" if use dist; then - "${EPYTHON}" ./x.py dist -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die + "${EPYTHON}" ./x.py dist -v --config="${S}"/config.toml -j$(makeopts_jobs) || die insinto "/usr/lib/${PN}/${SLOT}/dist" doins -r "${S}/build/dist/." fi |
