Closed danielwcho closed 1 month ago
i just stumbled upon the same issue.
it seems like a while ago wasmtime
redesigned their cli interface
--mapdir GUEST_DIR::HOST_DIR
has been replaced by --dir HOST_DIR::GUEST_DIR
.
so in your case, instead of
wasmtime run \
--mapdir /workdir::$PWD/workdir \
--mapdir /::$PWD/tmp/unpacked \
tmp/unpacked/bin/python-3.12.0.wasm
this should do the trick:
wasmtime run \
--dir $PWD/workdir::/workdir \
--dir $PWD/tmp/unpacked::/ \
tmp/unpacked/bin/python-3.12.0.wasm
Thanks!
Describe the bug
when I try to run the code in the picture, I get
Reproduction steps
Expected behavior
The 🐇 woke up with a smile. The 🌅 was shining on his face. A 🥕 was waiting for him on the table. He will put on his 👖 and get out of the 🏠 for a walk.
Additional context