HomeFreeBSD

lang/rust: Skip `.cargo-checksum.json` update when it's missing

Description

lang/rust: Skip .cargo-checksum.json update when it's missing

Currently we need to update .cargo-checksum.json in several patched
crates. But those crates are missing from the sources if they come from
GitHub instead of a proper released source archive. This change makes
post-patch and do-configure recipes fine in both cases.

Details

Provenance
dumbbellAuthored on
Parents
rP458178: lang/rust: Always replace bootstrap versions in `stage0.txt`
Branches
Unknown
Tags
Unknown