This commit is contained in:
Johann Hemmann 2024-01-19 16:03:30 +01:00
parent 0df30499d0
commit 4858a3784d
4 changed files with 3 additions and 6 deletions

View file

@ -368,7 +368,7 @@ impl CargoWorkspace {
name,
root: AbsPathBuf::assert(src_path.into()),
kind: TargetKind::new(&kind),
is_proc_macro: &*kind == ["proc-macro"],
is_proc_macro: *kind == ["proc-macro"],
required_features,
});
pkg_data.targets.push(tgt);