On Windows, Path::canonicalize() returns a path with the UNC prefix not supported by cmd.exe and breaks the compilation of all crates that have include! macros in it. The problem is well known, and no proper solution at the current moment https://github.com/rust-lang/rust/issues/42869
For now, I just cut this UNC prefix, but if users complain about that, we can come out with a more sophisticated solution like https://lib.rs/crates/dunce
Closes #4
On Windows,
Path::canonicalize()
returns a path with the UNC prefix not supported bycmd.exe
and breaks the compilation of all crates that haveinclude!
macros in it. The problem is well known, and no proper solution at the current moment https://github.com/rust-lang/rust/issues/42869 For now, I just cut this UNC prefix, but if users complain about that, we can come out with a more sophisticated solution like https://lib.rs/crates/dunce