You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wasm_runtime/README.md
+5-15Lines changed: 5 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,13 @@
2
2
3
3
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.
4
4
5
-
The only requirements are:
5
+
### Requirements
6
6
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.
8
9
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.
0 commit comments