Skip to content

Commit 2cda853

Browse files
committed
fix compile error
Due to the release of vmm-sys-util version 0.10.0 there are multiple vmm-sys-util dependencies. This will be resolved in rust-vmm/vm-memory#199. Signed-off-by: wllenyj <[email protected]>
1 parent 359815c commit 2cda853

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/check.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
toolchain: stable
2424
target: ${{ matrix.arch }}-unknown-linux-gnu
2525
override: true
26+
- name: Lock dependencies
27+
run: |
28+
cargo update -p fuse-backend-rs:0.9.5 --precise 0.9.4
29+
cargo update -p vmm-sys-util:0.10.0 --precise 0.9.0
2630
- uses: actions-rs/cargo@v1
2731
with:
2832
use-cross: true
@@ -60,6 +64,10 @@ jobs:
6064
components: clippy
6165
target: ${{ matrix.arch }}-unknown-linux-gnu
6266
override: true
67+
- name: Lock dependencies
68+
run: |
69+
cargo update -p fuse-backend-rs:0.9.5 --precise 0.9.4
70+
cargo update -p vmm-sys-util:0.10.0 --precise 0.9.0
6371
- uses: actions-rs/clippy-check@v1
6472
with:
6573
use-cross: true

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
key: ${{ runner.os }}-build-${{ env.cache-name }}
3838

3939
- name: Test dbs-address-space
40-
run: cargo llvm-cov --all-features -p dbs-address-space --lcov --output-path dbs-address-space.info
40+
run: |
41+
cargo update -p fuse-backend-rs:0.9.5 --precise 0.9.4
42+
cargo llvm-cov --all-features -p dbs-address-space --lcov --output-path dbs-address-space.info
4143
- name: Test dbs-allocator
4244
run: cargo llvm-cov --all-features -p dbs-allocator --lcov --output-path dbs-allocator.info
4345
- name: Test dbs-arch

0 commit comments

Comments
 (0)