diff --git a/src/wasm/wrt/ngx_wrt.h b/src/wasm/wrt/ngx_wrt.h index 6869df54d..031fe22ab 100644 --- a/src/wasm/wrt/ngx_wrt.h +++ b/src/wasm/wrt/ngx_wrt.h @@ -61,6 +61,11 @@ typedef enum { #include #include +#if WASMTIME_VERSION_MAJOR != 14 +# error Unsupported Wasmtime version +#elif WASMTIME_VERSION_MINOR > 0 +# warning Untested Wasmtime version +#endif typedef wasmtime_error_t ngx_wrt_res_t;