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.
2 parents 83788af + a899a22 commit 293f231Copy full SHA for 293f231
src/lib.rs
@@ -262,7 +262,7 @@ pub(crate) fn get_artifact_config(package: Package, artifact: Artifact) -> CTRCo
262
// For now, assume a single "kind" per artifact. It seems to be the case
263
// when a single executable is built anyway but maybe not in all cases.
264
let name = match artifact.target.kind[0].as_ref() {
265
- "bin" | "lib" | "rlib" | "dylib" if artifact.target.test => {
+ "bin" | "lib" | "rlib" | "dylib" if artifact.profile.test => {
266
format!("{} tests", artifact.target.name)
267
}
268
"example" => {
0 commit comments