and drop file removal hack.
with --no-track those files are never created.
Signed-off-by: Georgy Yakovlev <
gyakovlev@gentoo.org>
---
eclass/cargo.eclass | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index d37293ada136..1a8d665fdad2 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -516,6 +516,7 @@ cargo_src_install() {
die "FATAL: please call cargo_gen_config before using ${FUNCNAME}"
set -- cargo install $(has --path ${@} || echo --path ./) \
+ --no-track \
--root "${ED}/usr" \
${GIT_CRATES[@]:+--frozen} \
$(usex debug --debug "") \
@@ -523,9 +524,6 @@ cargo_src_install() {
einfo "${@}"
"${@}" || die "cargo install failed"
- rm -f "${ED}/usr/.crates.toml" || die
- rm -f "${ED}/usr/.crates2.json" || die
-
# it turned out to be non-standard dir, so get rid of it future EAPI
# and only run for EAPI=7
#
https://bugs.gentoo.org/715890
--
2.39.1
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)