Skip to content

Commit ed5f898

Browse files
wasi-virt --allow-fs
1 parent 54ee0d5 commit ed5f898

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/ruby_wasm/packager.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ def package(executor, dest_dir, options)
5959
tmp_virt_file = "tmp/ruby.component.virt.wasm"
6060
File.write(tmp_file, wasm_bytes)
6161
args = [
62-
"wasi-virt", "--stderr=allow",
62+
"wasi-virt",
63+
"--allow-fs",
6364
"--allow-random", "--allow-clocks", "--allow-exit",
64-
"--stdout=allow", "--stdin=allow",
65+
"--stdin=allow", "--stdout=allow", "--stderr=allow",
6566
"--allow-all",
6667
"--debug"
6768
]

0 commit comments

Comments
 (0)