Closed AetiasHax closed 6 months ago
Building on WSL uses wsl --cd <dir> ... which expects a Windows/Linux path and doesn't work with \\wsl.localhost paths. I fixed this by stripping the prefix \\wsl.localhost\{distro} and replacing it with the root path /.
wsl --cd <dir> ...
\\wsl.localhost
\\wsl.localhost\{distro}
/
Thanks for the PR! I was under the impression that wsl.exe properly translated \\wsl.localhost paths. What error were you getting before this?
Ah, just tested and it doesn't handle it. Good catch!
Building on WSL uses
wsl --cd <dir> ...
which expects a Windows/Linux path and doesn't work with\\wsl.localhost
paths. I fixed this by stripping the prefix\\wsl.localhost\{distro}
and replacing it with the root path/
.