about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-01-22 19:01:56 +0200
committerChayim Refael Friedman <chayimfr@gmail.com>2025-02-04 17:54:13 +0200
commitd694b2086ce3f60591220ea1ef31b9bdd5738fea (patch)
tree42470052a588a8fc4ecdcce7e22b09052e0ab6f5 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent1ba7a38e4f95cd7d8666719140650ce551bd1753 (diff)
downloadrust-d694b2086ce3f60591220ea1ef31b9bdd5738fea.tar.gz
rust-d694b2086ce3f60591220ea1ef31b9bdd5738fea.zip
Make `rust-analyzer.files.excludeDirs` work, actually
I have no idea what the original writer of the code thought but the logic just seems backwards. We should not exclude a file/directory if it is equal to an include! This also meant that we had to add a `root == path` check so this stuff will actually work, which in turn meant excludes (of root files) no longer worked...

Also rename if to `rust-analyzer.files.exclude`, because it can exclude files as well.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions