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>
This commit is contained in:
Andrew Clayton
2024-02-05 21:32:00 +00:00
parent bca44630ed
commit f2e6447567
2 changed files with 2 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ typedef enum {
NXT_APP_RUBY,
NXT_APP_JAVA,
NXT_APP_WASM,
NXT_APP_WASM_WC,
NXT_APP_UNKNOWN,
} nxt_app_type_t;