diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-02-05 21:32:00 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-02-21 16:20:32 +0000 |
commit | f2e6447567eef6eeafa833adae0ef155568ec20f (patch) | |
tree | 2d2f9e9289fe70402fa3946a76352b046a6e7f99 /src/nxt_router.c | |
parent | bca44630ed50da036da056f0f89c48f9a30a19cc (diff) | |
download | unit-f2e6447567eef6eeafa833adae0ef155568ec20f.tar.gz unit-f2e6447567eef6eeafa833adae0ef155568ec20f.tar.bz2 |
Wasm-wc: Register a new Wasm component model language module type
This is the first commit in adding WebAssembly Component Model language
module support.
This just adds a new NXT_APP_WASM_WC type, required by subsequent
commits.
The WC stands for WASI_COMPONENT
This new module will have a type of 'wasm-wasi-component'.
Link: <https://github.com/nginx/unit/issues/1098>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r-- | src/nxt_router.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index 947836c8..1a1aca2b 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -281,6 +281,7 @@ static const nxt_str_t *nxt_app_msg_prefix[] = { [NXT_APP_RUBY] = &http_prefix, [NXT_APP_JAVA] = &empty_prefix, [NXT_APP_WASM] = &empty_prefix, + [NXT_APP_WASM_WC] = &empty_prefix, }; |