Skip to content

Commit

Permalink
Add AOT support in Node examples
Browse files Browse the repository at this point in the history
  • Loading branch information
juntao committed Oct 13, 2020
1 parent 7a905da commit 6cfeb51
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion nodejs/algos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you have not done so already, follow these simple instructions to [install Ru
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Run the Node.js app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/email/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ cargo install http_proxy
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Test
Expand Down
2 changes: 1 addition & 1 deletion nodejs/face_detect_service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $ sudo cp target/release/build/tensorflow-sys-63b45638c873b8e2/out/libtensorflow
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Test
Expand Down
2 changes: 1 addition & 1 deletion nodejs/functions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The [src/lib.rs](src/lib.rs) file contains a few Rust functions that showcase di
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Node.js app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/hello/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub fn say(s: &str) -> String {
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Node.js app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/json_io/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The [src/lib.rs](src/lib.rs) file contains a few Rust functions that showcase us
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Node.js app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/kmeans/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The [src/lib.rs](src/lib.rs) file contains Rust functions to generate simulated
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Node app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/ml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you have not done so already, follow these simple instructions to [install Ru
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Run the Node.js app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/quadratic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you have not done so already, follow these simple instructions to [install Ru
## Build the application

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Test
Expand Down
2 changes: 1 addition & 1 deletion nodejs/rsa_example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The [src/lib.rs](src/lib.rs) file contains three Rust functions to create a key
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Node app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The [src/lib.rs](src/lib.rs) file contains a few Rust functions that showcase di
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Node.js app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/svg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you have not done so already, follow these simple instructions to [install Ru
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Run the Node.js app
Expand Down
2 changes: 1 addition & 1 deletion nodejs/wasi-main/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you have not done so already, follow these simple instructions to [install Ru
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Run the application from command line
Expand Down
2 changes: 1 addition & 1 deletion nodejs/wasi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you have not done so already, follow these simple instructions to [install Ru
## Build the WASM bytecode

```
$ ssvmup build
$ ssvmup build --enable-aot
```

## Node.js app
Expand Down

0 comments on commit 6cfeb51

Please sign in to comment.