Implement getaddrinfo in wasi_socket_ext.c (#1413)

So getaddrinfo() can be used when compiling wasm app of C programs.
This commit is contained in:
Marcin Kolny
2022-09-02 15:11:58 +02:00
committed by GitHub
parent 9a04c21075
commit 3c4e980c9c
6 changed files with 246 additions and 2 deletions

View File

@ -100,6 +100,8 @@ add_executable(tcp_client ${CMAKE_CURRENT_SOURCE_DIR}/wasm-src/tcp_client.c)
add_executable(send_recv ${CMAKE_CURRENT_SOURCE_DIR}/wasm-src/send_recv.c)
target_link_libraries(send_recv pthread)
add_executable(addr_resolve ${CMAKE_CURRENT_SOURCE_DIR}/wasm-src/addr_resolve.c)
############################################
## Build iwasm with wasi and pthread support
############################################