dev-lang/rust: fix install w/ USE=-rustc-dev

Fixes: e04d3d37e0
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-11-08 02:39:24 +00:00
parent b5899878f6
commit 093b89fd1d
4 changed files with 16 additions and 8 deletions
+4 -2
View File
@@ -953,8 +953,10 @@ src_install() {
# Not required for general use, installs rustc-dev component (i.e. internal rlibs)
# needed to link to compiler internals for (e.g.) crubit
use rustc-dev && DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \
--config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die
if use rustc-dev ; then
DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \
--config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die
fi
docompress /usr/lib/${PN}/${SLOT}/share/man/
+4 -2
View File
@@ -954,8 +954,10 @@ src_install() {
# Not required for general use, installs rustc-dev component (i.e. internal rlibs)
# needed to link to compiler internals for (e.g.) crubit
use rustc-dev && DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \
--config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die
if use rustc-dev ; then
DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \
--config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die
fi
docompress /usr/lib/${PN}/${SLOT}/share/man/
+4 -2
View File
@@ -953,8 +953,10 @@ src_install() {
# Not required for general use, installs rustc-dev component (i.e. internal rlibs)
# needed to link to compiler internals for (e.g.) crubit
use rustc-dev && DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \
--config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die
if use rustc-dev ; then
DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \
--config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die
fi
docompress /usr/lib/${PN}/${SLOT}/share/man/
+4 -2
View File
@@ -953,8 +953,10 @@ src_install() {
# Not required for general use, installs rustc-dev component (i.e. internal rlibs)
# needed to link to compiler internals for (e.g.) crubit
use rustc-dev && DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \
--config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die
if use rustc-dev ; then
DESTDIR="${D}" "${EPYTHON}" ./x.py install rustc-dev -v \
--config="${S}"/bootstrap.toml -j$(get_makeopts_jobs) || die
fi
docompress /usr/lib/${PN}/${SLOT}/share/man/