Skip to content

Commit 49659c8

Browse files
roypatShadowCurse
authored andcommitted
ci: configure cargo-all-features
Skip explicitly adding optional dependencies to the permutation matrix (e.g. for example testing with --no-default-features, but the vmm-sys-util optional dependency enabled anyway), as this does not seem very useful (there is no way for a downstream to ever actually use this configuration). Signed-off-by: Patrick Roy <[email protected]>
1 parent 9a003a2 commit 49659c8

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.buildkite/custom-tests.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44
"test_name": "miri",
55
"command": "RUST_BACKTRACE=1 MIRIFLAGS='-Zmiri-disable-isolation -Zmiri-backtrace=full' cargo +nightly miri test --features backend-mmap,backend-bitmap",
66
"platform": ["x86_64", "aarch64"]
7-
},
8-
{
9-
"test_name": "clippy-no-xen",
10-
"command": "cargo clippy --workspace --bins --examples --benches --features 'backend-bitmap backend-mmap backend-atomic' --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks",
11-
"platform": [
12-
"x86_64",
13-
"aarch64"
14-
]
157
}
168
]
179
}

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ codegen-units = 1
4747
[package.metadata.docs.rs]
4848
all-features = true
4949
rustdoc-args = ["--cfg", "docsrs"]
50+
51+
[package.metadata.cargo-all-features]
52+
skip_optional_dependencies = true

0 commit comments

Comments
 (0)