Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
fixed images
Browse files Browse the repository at this point in the history
  • Loading branch information
jnyfah authored and Nick Vidal committed Mar 4, 2022
1 parent b1265e0 commit 8192e2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/WebAssembly/Golang.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WebAssembly with Golang

![Golang Webassembly](/static/img/tutorial/golangWasi.jpg?raw=true)
![Golang Webassembly](/img/tutorial/golangWasi.jpg?raw=true)

## Environment setup

Expand Down Expand Up @@ -63,7 +63,7 @@ func main(){
```bash
go run main.go
```
![Golang Screenshot1](/static/img/tutorial/golangRunScreenshot.png?raw=true)
![Golang Screenshot1](/img/tutorial/golangRunScreenshot.png?raw=true)



Expand All @@ -83,4 +83,4 @@ file main.wasm
```bash
wasmtime main.wasm
```
![Golang Screenshot2](/static/img/tutorial/golangWasmScreenshot.png?raw=true)
![Golang Screenshot2](/img/tutorial/golangWasmScreenshot.png?raw=true)
8 changes: 4 additions & 4 deletions docs/WebAssembly/Rust.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WebAssembly with Rust

![Rust WASI](/static/img/tutorial/rustWasi.jpg?raw=true)
![Rust WASI](/img/tutorial/rustWasi.jpg?raw=true)

## Environment setup

Expand Down Expand Up @@ -69,14 +69,14 @@ fn fib (n: u32) -> u32 {
cargo build
cargo run
```
![Rust Screenshot1](/static/img/tutorial/rustRunSreenshot.png?raw=true)
![Rust Screenshot1](/img/tutorial/rustRunSreenshot.png?raw=true)

2. Compile to wasm

```bash
cargo build --target=wasm32-wasi
```
![Rust Screenshot2](/static/img/tutorial/rustCompileScreenshot.png?raw=true)
![Rust Screenshot2](/img/tutorial/rustCompileScreenshot.png?raw=true)


3. The wasm file created in release folder of wasi32
Expand All @@ -91,6 +91,6 @@ file target/wasm32-wasi/release/demo.wasm

wasmtime target/wasm32-wasi/release/demo.wasm
```
![Rust Screenshot3](/static/img/tutorial/rustWasm.png?raw=true)
![Rust Screenshot3](/img/tutorial/rustWasm.png?raw=true)


0 comments on commit 8192e2c

Please sign in to comment.