You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disable mandatory cargo file checksums for vendored crates
Dependency downloads can be separated from the build phase of a rust
package using cargo vendor. However, cargo obstructs patching of vendored
crates by enforcing file checksums on their contents during compilation.
Like many other distributions, we have worked around this with an ugly
sed hack, rewriting the .cargo-checksum.json files to remove the file
checksums when they are invalidated.
Instead, fix the obnoxious upstream behaviour properly by ignoring
file checksums for vendored crates unless verification is specifically
requested by setting CARGO_VENDOR_VERIFY=1 in the environment.
0 commit comments