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
Problem
Adding a module named con, nul, or any other reserved name on Windows causes Rustdoc to fail.
Steps
Add an empty module named con.
Run cargo doc.
Possible Solution(s)
A fix similar to #83612 should get rid of this issue.
Notes
I'm on Windows 10. I haven't tested this, but I'm almost certain this bug should exist in all other versions of Windows, and in no other operating system.
The text was updated successfully, but these errors were encountered:
By default Windows will rewrite paths containing these filenames to a legacy dos device path. So, for example:
C:\path\to\docs\con.something.html
Becomes:
\\.\CON
While this behaviour can be disabled using verbatim paths (i.e. using the \\?\ prefix), this still leaves files which would be hard for the user to access.
Problem
Adding a module named
con
,nul
, or any other reserved name on Windows causes Rustdoc to fail.Steps
con
.cargo doc
.Possible Solution(s)
A fix similar to #83612 should get rid of this issue.
Notes
I'm on Windows 10. I haven't tested this, but I'm almost certain this bug should exist in all other versions of Windows, and in no other operating system.
The text was updated successfully, but these errors were encountered: