about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-10-14 11:42:53 +0000
committerGitHub <noreply@github.com>2021-10-14 11:42:53 +0000
commitc5354877c98bf804eaa6148204386dd392eb3b39 (patch)
tree26c1331cadfa19d15490d50f2df32f5487b7b3db /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentf87debcf87c16690e8d5e185a35d03a402a2d5bf (diff)
parent841d4f9dad7edbb9b239dfa6c6a14dcfe5d94ad3 (diff)
downloadrust-c5354877c98bf804eaa6148204386dd392eb3b39.tar.gz
rust-c5354877c98bf804eaa6148204386dd392eb3b39.zip
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>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions