rust/crates/rust-analyzer/tests/slow-tests
bors[bot] c5354877c9
Merge #10503
10503: Only include targets of packages that are workspace members r=Veykril a=bcully

CargoWorkspace's package list includes packages that are path
dependencies, even if those packages aren't actually members of the
cargo workspace. As a result, rust-analyzer's runnable finder, which
returns the target from the first workspace that has a matching package,
may select the wrong working directory, causing runnables to fail, e.g.,
```
error: package `root` cannot be tested because it requires dev-dependencies and is not a member of the workspace
```

To fix this, we filter out packages that aren't members of the workspace
when searching for targets.

Fixes #7764

Co-authored-by: Brendan Cully <brendan@cully.org>
2021-10-14 11:42:53 +00:00
..
main.rs Only include targets of packages that are workspace members 2021-10-11 18:28:05 -07:00
sourcegen.rs internal: overhaul code generation 2021-07-03 22:11:03 +03:00
support.rs Add proc-macro fixture directive 2021-09-13 18:37:50 +02:00
testdir.rs fix tests 2021-07-19 16:38:36 +03:00
tidy.rs Update tidy ignore path 2021-10-12 09:47:21 +02:00