about summary refs log tree commit diff
path: root/tests/codegen/array-codegen.rs
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2023-02-12 12:05:56 +0000
committerChris Denton <chris@chrisdenton.dev>2023-05-03 10:24:56 +0100
commit6e377849c09a310b6eef50ebd91c1f014d41ab73 (patch)
tree1b17781bad1484f5b797202fd344f265a4175ac3 /tests/codegen/array-codegen.rs
parentcad92b4c979760b088ffd18e6c89801668c944f2 (diff)
downloadrust-6e377849c09a310b6eef50ebd91c1f014d41ab73.tar.gz
rust-6e377849c09a310b6eef50ebd91c1f014d41ab73.zip
Correctly convert an NT path to a Win32 path
This can be done by simply changing the `\??\` prefix to `\\?\` and then attempting to convert to a user path.

Currently it simply strips off the prefix which could lead to the wrong path being returned (e.g. if it's not a drive path or if the path contains trailing spaces, etc).
Diffstat (limited to 'tests/codegen/array-codegen.rs')
0 files changed, 0 insertions, 0 deletions