From 8f6449f4e0152d9644b807cf2208e3734a0f8b4d Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Tue, 10 Oct 2023 20:54:39 +0100 Subject: [WIP] Wasm: Add a WAMR based language module Signed-off-by: Andrew Clayton --- src/wasm/nxt_wasm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wasm/nxt_wasm.c') diff --git a/src/wasm/nxt_wasm.c b/src/wasm/nxt_wasm.c index 92ed57ab..b2827bd6 100644 --- a/src/wasm/nxt_wasm.c +++ b/src/wasm/nxt_wasm.c @@ -292,6 +292,7 @@ nxt_wasm_setup(nxt_task_t *task, nxt_process_t *process, nxt_wasm_ctx.dirs[i] = nxt_zalloc(str.length + 1); memcpy(nxt_wasm_ctx.dirs[i], str.start, str.length); } + nxt_wasm_ctx.nr_dirs = n; out_init: err = nxt_wops->init(&nxt_wasm_ctx); -- cgit