We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c31a623 commit 0390bf1Copy full SHA for 0390bf1
rust-tests/src/lib.rs
@@ -320,7 +320,7 @@ mod tests {
320
let pkg = get_package(tmp.as_dir(), "pkg_hash".to_string());
321
let mut variant = BTreeMap::new();
322
variant.insert("target_platform".into(), host_subdir().into());
323
- let hash = HashInfo::from_variant(&variant, &NoArchType::None);
+ let hash = HashInfo::from_variant(&variant, &NoArchType::none());
324
let pkg_hash = format!("pkg_hash-1.0.0-{hash}_my_pkg.tar.bz2");
325
let pkg = pkg.display().to_string();
326
assert!(pkg.ends_with(&pkg_hash));
0 commit comments