Skip to content

Commit d98b849

Browse files
authored
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.
1 parent 95bedfd commit d98b849

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ jobs:
345345
uses: dtolnay/rust-toolchain@nightly
346346

347347
- name: setup
348-
run: cargo update -Zminimal-versions
348+
run: cargo update -Zdirect-minimal-versions
349349

350350
- name: check
351351
run: cargo check

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ targets = [
2929

3030
[dependencies]
3131
libc = { version = "0.2.155", features = ["extra_traits"] }
32-
bitflags = "2.3.1"
32+
bitflags = "2.3.3"
3333
cfg-if = "1.0"
3434
pin-utils = { version = "0.1.0", optional = true }
3535
memoffset = { version = "0.9", optional = true }

0 commit comments

Comments
 (0)