Skip to content

Commit 71edfd2

Browse files
tobikkwm81
authored andcommitted
Mk/Uses/cargo.mk: Unbreak install with rust-nightly
Remove yet another install metadata file. This should all be replaced with --no-track once it is part of lang/rust. rust-lang/cargo#7560 ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: .crates2.json
1 parent 9aa1fd6 commit 71edfd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Mk/Uses/cargo.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ do-install:
283283
--root "${STAGEDIR}${PREFIX}" \
284284
--verbose \
285285
${CARGO_INSTALL_ARGS}
286+
# Replace with --no-track once it is part of lang/rust
286287
@${RM} -- "${STAGEDIR}${PREFIX}/.crates.toml"
288+
@${RM} -- "${STAGEDIR}${PREFIX}/.crates2.json"
287289
. endfor
288290
.endif
289291

0 commit comments

Comments
 (0)