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:
@@ -22,6 +22,7 @@ typedef enum {
|
|||||||
NXT_APP_RUBY,
|
NXT_APP_RUBY,
|
||||||
NXT_APP_JAVA,
|
NXT_APP_JAVA,
|
||||||
NXT_APP_WASM,
|
NXT_APP_WASM,
|
||||||
|
NXT_APP_WASM_WC,
|
||||||
|
|
||||||
NXT_APP_UNKNOWN,
|
NXT_APP_UNKNOWN,
|
||||||
} nxt_app_type_t;
|
} nxt_app_type_t;
|
||||||
|
|||||||
@@ -281,6 +281,7 @@ static const nxt_str_t *nxt_app_msg_prefix[] = {
|
|||||||
[NXT_APP_RUBY] = &http_prefix,
|
[NXT_APP_RUBY] = &http_prefix,
|
||||||
[NXT_APP_JAVA] = &empty_prefix,
|
[NXT_APP_JAVA] = &empty_prefix,
|
||||||
[NXT_APP_WASM] = &empty_prefix,
|
[NXT_APP_WASM] = &empty_prefix,
|
||||||
|
[NXT_APP_WASM_WC] = &empty_prefix,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user