Skip to content

Commit 48d37ce

Browse files
committed
In io-lifetimes to 1.0.6 when using Rust 1.48.
io-lifetimes 1.0.7 has a dependency on hermit-abi which doesn't affect normal builds but does affect cargo tree, which is used in some of rustix's tests.
1 parent e1ed91d commit 48d37ce

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,14 @@ jobs:
8888
8989
- name: Use specific dependency versions for Rust 1.48 compatibility.
9090
if: matrix.rust == '1.48'
91-
run: cargo update --package=once_cell --precise 1.14.0
91+
run: |
92+
cargo update --package=once_cell --precise 1.14.0
93+
cargo update --package=io-lifetimes --precise 1.0.6
94+
for crate in test-crates/*; do
95+
cd $crate
96+
cargo update --package=io-lifetimes --precise 1.0.6
97+
cd - >/dev/null
98+
done
9299
93100
- run: cargo check --workspace --release -vv --all-targets
94101
- run: cargo check --workspace --release -vv --features=all-apis --all-targets
@@ -518,7 +525,14 @@ jobs:
518525

519526
- name: Use specific dependency versions for Rust 1.48 compatibility.
520527
if: matrix.rust == '1.48'
521-
run: cargo update --package=once_cell --precise 1.14.0
528+
run: |
529+
cargo update --package=once_cell --precise 1.14.0
530+
cargo update --package=io-lifetimes --precise 1.0.6
531+
for crate in test-crates/*; do
532+
cd $crate
533+
cargo update --package=io-lifetimes --precise 1.0.6
534+
cd - >/dev/null
535+
done
522536
523537
- run: |
524538
# Run the tests, and check the prebuilt release libraries.

0 commit comments

Comments
 (0)