From e6780f698064d59a82b94a8e397d0c10c9b92897 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Sun, 5 Jan 2025 10:40:33 -0800 Subject: [PATCH] Fix build with rust 1.34 --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 00a1487..7da6696 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -95,6 +95,18 @@ jobs: with: command: update args: --package ryu --precise 1.0.6 + - name: Restrict libc version + if: matrix.restrict_deps_versions + uses: actions-rs/cargo@v1 + with: + command: update + args: --package libc --precise 0.2.164 + - name: Restrict num-traits version + if: matrix.restrict_deps_versions + uses: actions-rs/cargo@v1 + with: + command: update + args: --package num-traits --precise 0.2.18 - name: Check formatting if: matrix.lint uses: actions-rs/cargo@v1