Skip to content

Commit d836c7b

Browse files
Name bin target differently from lib
This avoids file collisions, which lead to spurious rebuilds and errors from Cargo (recently added by rust-lang/cargo#10172).
1 parent 9fe2dff commit d836c7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

collector/benchmarks/token-stream-stress/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ path = "src/lib.rs"
99
proc-macro = true
1010

1111
[[bin]]
12-
name = "token-stream-stress"
12+
name = "token-stream-stress-bin"
1313
path = "src/main.rs"
1414

15-
[workspace]
15+
[workspace]
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"cargo_opts": "--bin token-stream-stress",
2+
"cargo_opts": "--bin token-stream-stress-bin",
33
"touch_file": "src/main.rs"
44
}

0 commit comments

Comments
 (0)