Always update rust when building libavif on Windows

This commit is contained in:
Andrew Murray 2025-04-01 21:57:34 +11:00
parent 7c56b383ff
commit 49a11424c4
2 changed files with 1 additions and 5 deletions

View File

@ -160,11 +160,6 @@ jobs:
& python.exe winbuild\build_prepare.py -v --no-imagequant --architecture=${{ matrix.cibw_arch }}
shell: pwsh
- name: Update rust
if: matrix.cibw_arch == 'AMD64'
run: |
rustup update
- name: Build wheels
run: |
setlocal EnableDelayedExpansion

View File

@ -385,6 +385,7 @@ DEPS: dict[str, dict[str, Any]] = {
"filename": f"libavif-{V['LIBAVIF']}.zip",
"license": "LICENSE",
"build": [
"rustup update",
f"{sys.executable} -m pip install meson",
*cmds_cmake(
"avif_static",