BtbN / FFmpeg-Builds

MIT License
7.79k stars 1.07k forks source link

Build cargo-c with --locked to work around rust-lang/cargo#13002 #321

Closed madepal closed 1 year ago

madepal commented 1 year ago

Based on: https://github.com/AOMediaCodec/libavif/pull/1785

Addresses: https://github.com/BtbN/FFmpeg-Builds/issues/320

As noted in the referenced fix, "using --locked might be advisable anyway to ensure reproducible builds.". Unsure of the veracity of this claim, but using --locked worked to bypass the issue for me locally.

BtbN commented 1 year ago

I'd rather not do this. This will prevent updates from getting in, so potentially vulnerable/broken versions could stick around, specially when I don't remember to remove this.