Skip to content

Commit c7dc9c3

Browse files
author
Michael Wright
committed
Fix intermittent build error
The fmt test will cause clippy dev to be compiled and run. The clippy dev dependencies are currently stored at `target/debug/deps` when this happens. This location sometimes causes conflicts with ui tests which result in the build error "thread 'compile_test' panicked at 'Found multiple rlibs for crate `regex` ...". This commit forces the clippy_dev dependencies to be stored under `clippy_dev/target/` which seems to resolve this problem.
1 parent 48d4736 commit c7dc9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cargo/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[alias]
22
uitest = "test --test compile-test"
3-
dev = "run --package clippy_dev --bin clippy_dev --manifest-path clippy_dev/Cargo.toml --"
3+
dev = "run --target-dir clippy_dev/target --package clippy_dev --bin clippy_dev --manifest-path clippy_dev/Cargo.toml --"
44

55
[build]
66
rustflags = ["-Zunstable-options"]

0 commit comments

Comments
 (0)