Skip to content

Commit 59b597d

Browse files
committed
Fixes 'default-features' on a dependency not propagating to QEMU tests
1 parent 82e30b4 commit 59b597d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testing/src/qemu/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ pub fn gen_qemu_test(proj: PathBuf, mut root: PathBuf, name: &str, body: &str) -
4141
Dependency::Complex {
4242
version: _,
4343
path: Some(v),
44+
default_features: _,
4445
} => v,
4546
_ => continue,
4647
};
@@ -66,6 +67,7 @@ pub fn gen_qemu_test(proj: PathBuf, mut root: PathBuf, name: &str, body: &str) -
6667
Dependency::Complex {
6768
version: None,
6869
path: Some(proj.into_os_string().into_string().unwrap()),
70+
default_features: None,
6971
},
7072
);
7173
}
@@ -427,6 +429,8 @@ enum Dependency {
427429
Complex {
428430
version: Option<String>,
429431
path: Option<String>,
432+
#[serde(rename = "default-features")]
433+
default_features: Option<bool>,
430434
},
431435
}
432436

0 commit comments

Comments
 (0)