Skip to content

Commit

Permalink
Track TargetKind::Example split
Browse files Browse the repository at this point in the history
  • Loading branch information
raphlinus committed Jan 25, 2017
1 parent 2b2b55f commit 1ed7f69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cargo/ops/cargo_rustc/output_depinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ fn add_deps_for_unit(deps: &mut HashSet<PathBuf>, context: &mut Context, unit: &
TargetKind::Lib(..) => "lib",
TargetKind::Bin => "bin",
TargetKind::Test => "integration-test",
TargetKind::Example => "example",
TargetKind::ExampleBin |
TargetKind::ExampleLib(..) => "example",
TargetKind::Bench => "bench",
TargetKind::CustomBuild => "build-script",
};
Expand Down

0 comments on commit 1ed7f69

Please sign in to comment.