You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mapdir option, added back in #451 (cc @MarkMcCaskey) is described as compatible with Wasmtime, but uses a single : as a separator instead of :: for left and right sides.
Also, it doesn't account for possible colons in paths themselves, making this option impossible to use with absolute paths on Windows.
Also, it doesn't account for possible colons in paths themselves, making this option impossible to use with absolute paths on Windows.
That's a great point, we should probably allow separation by two colons ::@MarkMcCaskey
Note 1: it could be possible to also split the by the first encountered colon, to solve the issue in Windows.
Note 2: we are working on a new version of Wasmer and there might be a bit of delay on the resolution of the issue until we make it public. But we will work to make it happen! :)
Describe the bug
mapdir
option, added back in #451 (cc @MarkMcCaskey) is described as compatible with Wasmtime, but uses a single:
as a separator instead of::
for left and right sides.Also, it doesn't account for possible colons in paths themselves, making this option impossible to use with absolute paths on Windows.
Steps to reproduce
With arbitrary
temp.wasm
try the following on a Windows machine:Expected behavior
Wasm program is ran with
/tmp
mapped toC:\Users\rreverser\Desktop\wasi\tmp
on the host machine.Actual behavior
Getting an error in the console
The text was updated successfully, but these errors were encountered: