about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-20 18:42:48 +0000
committerbors <bors@rust-lang.org>2022-06-20 18:42:48 +0000
commit312ac83caf5cd383f10177fbade646ef02a3f6ef (patch)
tree9f7f2daabfaf35c10a4f8924666a5067cec8c51d /src/test/codegen/src-hash-algorithm
parent439a513efb77b956ed318cef6a4af421054d29e8 (diff)
parent07d78b67cb5fb0f67a2b06677d0003f5e9ba384f (diff)
downloadrust-312ac83caf5cd383f10177fbade646ef02a3f6ef.tar.gz
rust-312ac83caf5cd383f10177fbade646ef02a3f6ef.zip
Auto merge of #12599 - flodiebold:no-test-deps, r=flodiebold
fix: Only apply `cfg(test)` for local crates

Don't analyze dependencies with `test`; this should fix various cases where crates use `cfg(not(test))` and so we didn't find things.

"Local" here currently means anything that's not from the registry, so anything inside the workspace, but also path dependencies. So this isn't perfect, and users might still need to use `rust-analyzer.cargo.unsetTest` for these in some cases.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions