I’m having an odd issue with parsing constructed paths that involve Windows UNC prefixes. As far as I can tell, Rust is refusing to follow relative paths embedded inside any path with a Windows UNC prefix.
For example, these files exist:
But this claims not to exist:
I’m only noticing this because I tried to read in a path, call
fs::canonicalize() (which adds the UNC prefix), then join on another path that contains a relative offset.
Am I missing something subtle about how paths are handled?