env!("CARGO_MANIFEST_DIR")
returns the correct path but starting with \\?\
(e.g. \\?\C:\path\to\project\
) making the path unusable.
How I can solve that ?
env!("CARGO_MANIFEST_DIR")
returns the correct path but starting with \\?\
(e.g. \\?\C:\path\to\project\
) making the path unusable.
How I can solve that ?
tl;dr It's required to have path longer than 260 characters on windows.
After some tests it's look like the problem wasn't the \\?\
but the fact I used ..
(double dot) in the path string.
You need
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.