Skip to content

Commit

Permalink
Mk/Uses/cargo.mk: Unbreak install with rust-nightly
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tobik authored and kwm81 committed Jan 26, 2020
1 parent 9aa1fd6 commit 71edfd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mk/Uses/cargo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ do-install:
--root "${STAGEDIR}${PREFIX}" \
--verbose \
${CARGO_INSTALL_ARGS}
# Replace with --no-track once it is part of lang/rust
@${RM} -- "${STAGEDIR}${PREFIX}/.crates.toml"
@${RM} -- "${STAGEDIR}${PREFIX}/.crates2.json"
. endfor
.endif

Expand Down

0 comments on commit 71edfd2

Please sign in to comment.