From fc6521e5afe0b71e06737bb928d1bf98995c8ede Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Thu, 17 Aug 2023 02:33:50 +0300 Subject: [PATCH] Fix build with rust 1.46 --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7bfc366..3d8e445 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -83,6 +83,18 @@ jobs: with: command: update args: --package proc-macro2 --precise 1.0.65 + - name: Restrict windows-targets version + if: matrix.restrict_deps_versions + uses: actions-rs/cargo@v1 + with: + command: update + args: --package windows-targets --precise 0.48.1 + - name: Restrict windows_x86_64_msvc version + if: matrix.restrict_deps_versions + uses: actions-rs/cargo@v1 + with: + command: update + args: --package windows_x86_64_msvc --precise 0.48.0 - name: Check formatting if: matrix.lint uses: actions-rs/cargo@v1