diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d63b8e0..b07a997e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe ## Unreleased ### changed - Remove HTML glob in tailwind.config.js +- Add check to see if artifact is a cdylib target (fixes #575) ## 0.17.4 ### added diff --git a/src/pipelines/rust.rs b/src/pipelines/rust.rs index 9330de05..448803c5 100644 --- a/src/pipelines/rust.rs +++ b/src/pipelines/rust.rs @@ -307,7 +307,8 @@ impl RustApp { .filter_map(|msg| match msg { cargo_metadata::Message::CompilerArtifact(art) if art.package_id == self.manifest.package.id - && art.target.kind.iter().any(|k| k == "bin") => + && (art.target.kind.contains(&"bin".to_string()) + || art.target.kind.contains(&"cdylib".to_string())) => { Some(Ok(art)) }