Skip to content

Remove WSLPath #854

@Alexhuszagh

Description

@Alexhuszagh

Checklist

Describe your issue

Currently, we use wsl -e wslpath -a ... to find the WSL2 path of a file for our mount point on Windows. This poses a few issues:

  • It requires external commands, which add significant overhead.
  • It does not work for UNC paths.

A simple test is as follows:

wsl -e wslpath -a "\\server\share"
wslpath: \\server\share

What target(s) are you cross-compiling for?

No response

Which operating system is the host (e.g computer cross is on) running?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

latest main build

Example

No response

Additional information / notes

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions