authorgravatar for rofrol@gmail.comRoman Frołow <rofrol@gmail.com> 2023-05-15 16:37:56+02:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-05-15 23:34:43+03:00
log21b7c4804352c892ba4bfd6967ca73a5db0df81b
tree3746439f9a174b9ebfda200095d07bf43764bb10
parent2286c19c20897727825a6fd8dd63de1ada6724ee

Add wasi_ prefix to wasm files


1 files changed, 3 insertions(+), 3 deletions(-)

doc/langref.html.in+3-3
......@@ -11221,8 +11221,8 @@ pub fn main() !void {
1122111221 }
1122211222}
1122311223 {#code_end#}
11224 {#shell_samp#}$ wasmtime args.wasm 123 hello
112250: args.wasm
11224 {#shell_samp#}$ wasmtime wasi_args.wasm 123 hello
112250: wasi_args.wasm
11226112261: 123
11227112272: hello{#end_shell_samp#}
1122811228 <p>A more interesting example would be extracting the list of preopens from the runtime.
......@@ -11247,7 +11247,7 @@ pub fn main() !void {
1124711247 }
1124811248}
1124911249 {#code_end#}
11250 {#shell_samp#}$ wasmtime --dir=. preopens.wasm
11250 {#shell_samp#}$ wasmtime --dir=. wasi_preopens.wasm
11251112510: stdin
11252112521: stdout
11253112532: stderr