Skip to content

Commit bfd6286

Browse files
authored
doc: Simplifying building instructions for wasm_runtime
1 parent de50e61 commit bfd6286

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

wasm_runtime/README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,13 @@
22

33
The steps below show how to build wasm_runtime. Rust will target the host platform, building `libwasm_runtime.so` on Linux and `wasm_runtime.dll` on Windows.
44

5-
The only requirements are:
5+
### Requirements
66

7-
- [Rust](https://www.rust-lang.org/)
7+
- [Rust](https://www.rust-lang.org/): Go to the [getting started](https://www.rust-lang.org/learn/get-started) section and follow instructions for your platform.
8+
- [cbindgen](https://github.com/eqrion/cbindgen): Execute `cargo install cbindgen` once Rust is installed.
89

9-
```console
10-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
11-
```
12-
- [cbindgen](https://github.com/eqrion/cbindgen)
13-
14-
```console
15-
cargo install cbindgen
16-
```
17-
18-
Next, execute `make all` in this folder, and it will invoke `cargo` with the proper tags and parameters.
19-
```console
20-
make all
21-
```
10+
### Build
11+
Execute `make all` in this folder, and it will invoke `cargo` with the proper tags and parameters.
2212

2313
### ⚠️ Dealing with the runtime linker
2414

0 commit comments

Comments
 (0)