File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,4 @@ targets = [
73
73
" x86_64-unknown-linux-gnu" ,
74
74
" aarch64-unknown-linux-gnu" ,
75
75
" aarch64-apple-darwin" ,
76
- ]
77
-
78
- [lints .rust ]
79
- unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(testff)' ] }
76
+ ]
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ build:
15
15
16
16
check : build
17
17
${CARGO} fmt -- --check
18
- ${CARGO} clippy ${TARGET} --features=" fusedev" --no-default-features -- -Dwarnings
19
- ${CARGO} clippy ${TARGET} --features=" virtiofs" --no-default-features -- -Dwarnings
20
- ${CARGO} clippy ${TARGET} --features=" vhost-user-fs" --no-default-features -- -Dwarnings
21
- ${CARGO} clippy ${TARGET} --features=" fusedev,virtiofs" --no-default-features -- -Dwarnings
18
+ ${CARGO} clippy ${TARGET} --features=" fusedev" --no-default-features -- -Dwarnings -A unexpected-cfgs
19
+ ${CARGO} clippy ${TARGET} --features=" virtiofs" --no-default-features -- -Dwarnings -A unexpected-cfgs
20
+ ${CARGO} clippy ${TARGET} --features=" vhost-user-fs" --no-default-features -- -Dwarnings -A unexpected-cfgs
21
+ ${CARGO} clippy ${TARGET} --features=" fusedev,virtiofs" --no-default-features -- -Dwarnings -A unexpected-cfgs
22
22
23
23
test :
24
24
${CARGO} test ${TARGET} --features=" fusedev" --no-default-features -- --nocapture --skip integration
Original file line number Diff line number Diff line change @@ -388,7 +388,6 @@ mod async_io {
388
388
389
389
/// Disabled since vm-virtio doesn't export any DescriptorChain constructors.
390
390
/// Should re-enable once it does.
391
- #[ allow( unexpected_cfgs) ]
392
391
#[ cfg( testff) ]
393
392
mod tests {
394
393
use super :: * ;
You can’t perform that action at this time.
0 commit comments