From d98b84970086bda0e6c49072454d4aba301eb718 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 23 Jun 2024 18:21:49 -0600 Subject: [PATCH] Fix the build with -Zdirect-minimal-versions (#2453) The difference between -Zminimal-versions and -Zdirect-minimal-versions is subtle. But the important point is that with the former, a new release published by one of our dependencies can cause our CI to fail. With the latter, it cannot. That's why I think it's better to test with the latter. --- .github/workflows/ci.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57220f50c7..2104938621 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -345,7 +345,7 @@ jobs: uses: dtolnay/rust-toolchain@nightly - name: setup - run: cargo update -Zminimal-versions + run: cargo update -Zdirect-minimal-versions - name: check run: cargo check diff --git a/Cargo.toml b/Cargo.toml index edf9973a13..8382b01c3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ targets = [ [dependencies] libc = { version = "0.2.155", features = ["extra_traits"] } -bitflags = "2.3.1" +bitflags = "2.3.3" cfg-if = "1.0" pin-utils = { version = "0.1.0", optional = true } memoffset = { version = "0.9", optional = true }