Closed
Description
Currently, if you give a path to bootstrap to build or test, it works perfectly if you have a Unix-style relative path - no prefix, forward-slashes to separate directories. However, when tab-completing files in Powershell, it currently inserts a .\
at the front to force parsing as a relative path, and (due to being Windows) uses back-slashes for directory separators. This causes bootstrap to fail parsing the path:
> python x.py test .\src\test\run-pass\issue-38226.rs
[...snipping out the "building bootstrap and dependencies" lines...]
Error: thread 'main' panicked at 'No rules matched .\src\test\run-pass\issue-38226.rs'.
> python x.py test src/test/run-pass/issue-38226.rs
[...begins compiling as normal...]