Stream: wasmtime

Topic: ✔ wasmtime cli --dir usage


view this post on Zulip Ty (Sep 21 2024 at 13:58):

Hi all,
I have a couple questions about how the --dir flag works in the wasmtime cli. For this command:

wasmtime --wasi cli --dir /a main.wasm
  1. Is the binary given access to /a and all child directories or only /a?
  2. If only /a, how can I declare multiple directories to provide access to?
    Thanks for you guidance.

view this post on Zulip bjorn3 (Sep 21 2024 at 14:01):

--dir /a will give access to all paths beneath /a.

view this post on Zulip Ty (Sep 21 2024 at 14:02):

thank you!

view this post on Zulip Notification Bot (Sep 21 2024 at 14:02):

Ty has marked this topic as resolved.


Last updated: Dec 23 2024 at 13:07 UTC