Skip to content

Missing cgwin detection for windows in many places #4601

@jkelleyrtp

Description

@jkelleyrtp

Problem

In a number of places in the CLI, we use cfg!(windows) to determine how to print a path. However, if the user is running under cgwin or mgwin where paths are unix-style, these checks will fail.

We should add a use_windows_paths function that does this detection and replace the various problematic sites for better reliability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions