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

Commit d5b38fd

Browse files
authored
Update Wasm.md
1 parent 106de36 commit d5b38fd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/Installation/Wasm.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ Install the WebAssembly Rust toolchain:
66

77
$ rustup target install wasm32-wasi
88

9-
Create a simple Rust program:
9+
Create a simple Rust program. First make sure you're not in the repository you already created:
1010

11+
$ cd ~/
1112
$ cargo init --bin hello-world
1213
$ cd hello-world
1314
$ echo 'fn main() { println!("Hello, Enarx!"); }' > src/main.rs
@@ -34,4 +35,4 @@ You can manually select a backend with the `--backend` option, or by
3435
setting the `ENARX_BACKEND` environment variable:
3536

3637
$ enarx run --backend=sgx target/wasm32-wasi/release/hello-world.wasm
37-
$ ENARX_BACKEND=sgx enarx run target/wasm32-wasi/release/hello-world.wasm
38+
$ ENARX_BACKEND=sgx enarx run target/wasm32-wasi/release/hello-world.wasm

0 commit comments

Comments
 (0)