Skip to content

Commit

Permalink
Format problems in FindWASISDK.cmake and wasm_export.h
Browse files Browse the repository at this point in the history
- Remove unnecessary blank line in FindWASISDK.cmake for improved readability
- Format function declaration for wasm_runtime_destroy_imports for consistency
  • Loading branch information
lum1n0us committed Nov 11, 2024
1 parent b71bee8 commit 637f5db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions core/iwasm/include/wasm_export.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion samples/linking/cmake/FindWASISDK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 637f5db

Please sign in to comment.