diff --git a/core/iwasm/include/wasm_export.h b/core/iwasm/include/wasm_export.h index 11590a7409..00c413caba 100644 --- a/core/iwasm/include/wasm_export.h +++ b/core/iwasm/include/wasm_export.h @@ -2346,8 +2346,7 @@ wasm_runtime_create_imports_with_builtin(wasm_module_t module, wasm_extern_inst_t out, int32_t out_len); -WASM_RUNTIME_API_EXTERN -void +WASM_RUNTIME_API_EXTERN void wasm_runtime_destroy_imports(wasm_module_t module, wasm_extern_inst_t imports); WASM_RUNTIME_API_EXTERN bool diff --git a/samples/linking/cmake/FindWASISDK.cmake b/samples/linking/cmake/FindWASISDK.cmake index 0353b7de26..5cdfea41e4 100644 --- a/samples/linking/cmake/FindWASISDK.cmake +++ b/samples/linking/cmake/FindWASISDK.cmake @@ -11,7 +11,6 @@ find_path(WASISDK_HOME REQUIRED ) - string(REGEX MATCH [0-9]+\.[0-9]+\.*[0-9]* WASISDK_VERSION ${WASISDK_HOME}) find_package_handle_standard_args(WASISDK REQUIRED_VARS WASISDK_HOME VERSION_VAR WASISDK_VERSION)