DioxusLabs / DioxusLabs/dioxus

Missing cgwin detection for windows in many places

Open
#4,601 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.