From 20d123b08774e7923e042641d6b9410723ef406c Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Mon, 28 Aug 2023 19:28:50 -0700 Subject: [PATCH] docs(developer) add example to build specific runtime versions --- docs/DEVELOPER.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md index 127629ca7..349a57100 100644 --- a/docs/DEVELOPER.md +++ b/docs/DEVELOPER.md @@ -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