Skip to content

Commit ea2e1b8

Browse files
committed
Move features flag after bin flag
The bin name is more relevant to show first for example in the output of `ps`.
1 parent b4aee0a commit ea2e1b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ pub fn build_dependencies(project: &Project) -> Result<()> {
3636

3737
let status = cargo(project)
3838
.arg(if project.has_pass { "build" } else { "check" })
39-
.args(features(project))
4039
.arg("--bin")
4140
.arg(&project.name)
41+
.args(features(project))
4242
.status()
4343
.map_err(Error::Cargo)?;
4444

0 commit comments

Comments
 (0)