Skip to content

Commit

Permalink
docs(developer) add example to build specific runtime versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Aug 29, 2023
1 parent f9f2712 commit 1fb6225
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,17 @@ build system will build ngx_wasm_module against these sources:
$ NGX=/path/to/nginx-sources make
```

To build with a specific runtime version:

```sh
$ NGX_WASM_RUNTIME=wasmtime make WASMTIME=12.0.1
$ NGX_WASM_RUNTIME=wasmer make WASMER=4.1.2
$ NGX_WASM_RUNTIME=v8 make V8=11.4.183.23
```

**Note:** Only V8 releases compiled at https://github.com/Kong/ngx_wasm_runtimes
are supported.

To build with or without debug mode:

```sh
Expand Down

0 comments on commit 1fb6225

Please sign in to comment.