diff options
| author | Michael Wright <mikerite@lavabit.com> | 2020-08-25 05:53:28 +0200 |
|---|---|---|
| committer | Michael Wright <mikerite@lavabit.com> | 2020-08-25 05:53:28 +0200 |
| commit | c7dc9c3cf7dc8a810ed0456834cd162055847e9d (patch) | |
| tree | 2fcb10eed2461747e84111018be27fef6f549975 | |
| parent | 48d473691359f7c59d7348937f71de0e5aa4ae12 (diff) | |
| download | rust-c7dc9c3cf7dc8a810ed0456834cd162055847e9d.tar.gz rust-c7dc9c3cf7dc8a810ed0456834cd162055847e9d.zip | |
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.
| -rw-r--r-- | .cargo/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.cargo/config b/.cargo/config index 2bad3b9c57f..e70da43ab47 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,6 +1,6 @@ [alias] uitest = "test --test compile-test" -dev = "run --package clippy_dev --bin clippy_dev --manifest-path clippy_dev/Cargo.toml --" +dev = "run --target-dir clippy_dev/target --package clippy_dev --bin clippy_dev --manifest-path clippy_dev/Cargo.toml --" [build] rustflags = ["-Zunstable-options"] |
