From d1ddb9a1a705baffb152fe49d288de18b14a0873 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 20 Jul 2026 17:57:56 -0700 Subject: [PATCH] ci: Lock MSRV-compatible dependencies Use the "fallback" resolver from newer Cargo to generate a `Cargo.lock` with dependencies that are compatible with MSRV 1.71. --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65e44375..6cc01422 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,12 @@ jobs: - nightly steps: - uses: actions/checkout@v4 + - name: Lock MSRV-compatible dependencies + if: matrix.toolchain == '1.71.1' + env: + CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: fallback + # Note that this uses the runner's pre-installed stable cargo + run: cargo generate-lockfile - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - name: Build run: cargo build --verbose