about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2022-06-20 20:10:25 +0200
committerFlorian Diebold <flodiebold@gmail.com>2022-06-20 20:10:25 +0200
commit98a58114a4f2d83e4ddd4da85493b83b42f6a6b9 (patch)
tree7a1805703aa40eef82a00015193a22498026fe9f /src/test/codegen/src-hash-algorithm
parent427061da19723f2206fe4dcb175c9c43b9a6193d (diff)
downloadrust-98a58114a4f2d83e4ddd4da85493b83b42f6a6b9.tar.gz
rust-98a58114a4f2d83e4ddd4da85493b83b42f6a6b9.zip
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