You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a bug, this a general Windows thing called UNC path, Rust just doesn't hide it from you like other languages. You can use dunce crate if you don't want to deal with it directly.
Describe the bug
If your project path is 'D:\foo', and your 'resources' path is 'D:\foo\resources'.
Then the 'script_path' you get is
It has more '\\?\' than the real path and causes errors in some of my functions.
Reproduction
Use the configuration in the bug description.
Expected behavior
Get
instead of
Platform and versions
Stack trace
No response
Additional context
Also, I don't know how to get the output from 'println!()' in setup in the example, you can check the value of script_path by debug.
If anyone knows how to get the output of println in setup please let me know, or discuss it here #5094 (comment).
The text was updated successfully, but these errors were encountered: