diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 2a8594f4961..1fe6badae13 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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 diff --git a/winbuild/build_prepare.py b/winbuild/build_prepare.py index e118cd99422..fe1d2408879 100644 --- a/winbuild/build_prepare.py +++ b/winbuild/build_prepare.py @@ -385,6 +385,7 @@ def cmd_msbuild( "filename": f"libavif-{V['LIBAVIF']}.zip", "license": "LICENSE", "build": [ + "rustup update", f"{sys.executable} -m pip install meson", *cmds_cmake( "avif_static",