-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SearchIndexer takes time indexing \target on windows #8694
Comments
Looks like we get this issue on macOS too (#8684). Is there any chance to reuse some logic between OSs? |
According to |
I'll work on this. |
So, it should work with directories as well. |
Exclude `target` from content-indexing on Windows This has a noticeable performance improvement for most projects, especially when the storage device is a hard drive. Closes #8694
Windows Search Indexer can spend significant time interrupting project builds. This is mostly a problem on older computers with slower hard drives, but can be measurable on all systems.

Unchecking the "allow files in this folder to have contents indexed" seams to help. (on cmd
attrib +I target
) There may be other setting that can also help. Can Cargo programmatically check that flag when it cratestarget
?The text was updated successfully, but these errors were encountered: