mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-util/cargo: tweak the build command and die early
This commit is contained in:
@@ -125,7 +125,7 @@ wincolor-0.1.6
|
||||
wincolor-1.0.0
|
||||
"
|
||||
|
||||
inherit cargo bash-completion-r1 versionator
|
||||
inherit cargo bash-completion-r1 multiprocessing versionator
|
||||
|
||||
BOOTSTRAP_VERSION="0.$(($(get_version_component_range 2) - 1)).0"
|
||||
|
||||
@@ -195,7 +195,7 @@ src_configure() {
|
||||
src_compile() {
|
||||
export CARGO_HOME="${ECARGO_HOME}"
|
||||
local cargo="${WORKDIR}/cargo-${BOOTSTRAP_VERSION}-${TRIPLE}/cargo/bin/cargo"
|
||||
${cargo} build --release
|
||||
${cargo} build -j$(makeopts_jobs) --release || die
|
||||
|
||||
# Building HTML documentation
|
||||
use doc && ${cargo} doc
|
||||
|
||||
Reference in New Issue
Block a user