Skip to content

Conversation

@maximeborges
Copy link

Podman is only running on UNIX-like systems; even on Windows, it is running inside WSLv2. Thus, its check for absolute path will always only check if said path starts with a /. On non-UNIX platform (e.g. WASM), Path::is_absolute will return false for paths starting with /, which is not what we want.

I'm currently making a WASM wrapper around podlet to generate Quadlet files in the browser, and this is currently blocking me.

Just found out when making this PR that #40 might propose a more complete fix, but this one is simpler to review since #40 hasn't moved since february

Podman is only running on UNIX-like systems; even on Windows, it is running inside WSLv2.
Thus, its check for absolute path will always only check if said path starts with a `/`.
On non-UNIX platform (e.g. WASM), `Path::is_absolute` will return `false` for paths starting with `/`, which is not what we want.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant