Skip to content

"cargo new" executed in a drive root hangs #4091

Closed
rust-lang/rust
#42246
rust-lang/rust#42246

Description

Executing cargo new directly in a drive root on Windows (eg, C:\ or D:) causes cargo to hang indefinitely at 100% CPU usage. Watching file access using ProcMon shows it attempting to open .git and objects directories, making me think that it's trying to scan upwards for a parent git repo.

Possibly related to #3783?

λ  cargo --version
cargo 0.18.0 (fe7b0cdcf 2017-04-24)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions