Force-Update cc-rs to work around broken pins

This commit is contained in:
BtbN 2024-08-29 23:52:00 +02:00
parent 44e2121b3e
commit ee7fb614de

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/xiph/rav1e.git"
SCRIPT_COMMIT="e34e772e47b01169b6f75a4589c056624ea886a4"
SCRIPT_COMMIT="7ab0de1fe907b16e3ce6c7ff0e15d27f71e5d5b4"
ffbuild_enabled() {
[[ $TARGET == win32 ]] && return -1
@ -21,6 +21,9 @@ ffbuild_dockerbuild() {
# Luckily no target libraries are needed.
unset PKG_CONFIG_LIBDIR
# The pinned version is broken, and upstream does not react
cargo update cc
cargo cinstall -v "${myconf[@]}"
chmod 644 "${FFBUILD_PREFIX}"/lib/*rav1e*