Skip to content

Commit b0705bf

Browse files
committed
ci: Fix MSRV build
``` error package `log v0.4.19` cannot be built because it requires rustc 1.60.0 or newer, while the currently active rustc version is 1.56.1 ```
1 parent 5ac72c7 commit b0705bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ jobs:
127127
# Check std feature
128128
- run: cargo hack build --workspace --ignore-private --no-default-features --features std --ignore-unknown-features
129129
# Check compat feature (futures, futures-util)
130-
- run: cargo hack build -p futures -p futures-util --no-default-features --features std,io-compat
130+
# Exclude io-compat feature because the MSRV when it is enabled depends on the MSRV of tokio 0.1.
131+
- run: cargo hack build -p futures -p futures-util --no-default-features --features std,compat
131132
# Check thread-pool feature (futures, futures-executor)
132133
- run: cargo hack build -p futures -p futures-executor --no-default-features --features std,thread-pool
133134

0 commit comments

Comments
 (0)