Skip to content

SearchIndexer takes time indexing \target on windows #8694

Closed
@Eh2406

Description

@Eh2406

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.
image

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 crates target?

Metadata

Metadata

Labels

C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`O-windowsOS: WindowsPerformanceGotta go fast!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions