From 272e6386804d525347f2e38976a7ee64c178da4d Mon Sep 17 00:00:00 2001 From: ydv-sahitya <11sahitya@gmail.com> Date: Sun, 10 Apr 2022 13:47:46 +0530 Subject: [PATCH 1/2] updated the path --- docs/WebAssembly/Rust.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/WebAssembly/Rust.md b/docs/WebAssembly/Rust.md index 4524f0ab3..755ba93b4 100644 --- a/docs/WebAssembly/Rust.md +++ b/docs/WebAssembly/Rust.md @@ -82,14 +82,14 @@ cargo build --target=wasm32-wasi 3. The wasm file created in release folder of wasi32 ```bash -file target/wasm32-wasi/release/demo.wasm +file target/wasm32-wasi/debug/demo.wasm ``` 4. Wasm runtime ```bash -wasmtime target/wasm32-wasi/release/demo.wasm +wasmtime target/wasm32-wasi/debug/demo.wasm ``` ![Rust Screenshot3](/img/tutorial/rustWasm.png?raw=true) From d82a283e26bc1a5efc913a3f4ed3de68dac38590 Mon Sep 17 00:00:00 2001 From: ydv-sahitya <11sahitya@gmail.com> Date: Tue, 12 Apr 2022 12:56:36 +0530 Subject: [PATCH 2/2] fixed the typo --- docs/WebAssembly/Zig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/WebAssembly/Zig.md b/docs/WebAssembly/Zig.md index a7b5b3a01..3f147287a 100644 --- a/docs/WebAssembly/Zig.md +++ b/docs/WebAssembly/Zig.md @@ -39,7 +39,7 @@ pub fn main() !void { try stdout.print("is: {d} \n ", .{fibonacci(x)} ); } ``` -## Compiling Go code +## Compiling Zig code 1. Compile using `zig`