diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index fa19d348f8f80..40532d3cbac6e 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -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