wasm-micro-runtime
wasm-micro-runtime copied to clipboard
espidf_socket.c and posix_socket.c are mostly same
core/shared/platform/esp-idf/espidf_socket.c is mostly identical to core/shared/platform/common/posix/posix_socket.c. to reduce the maintainance cost, it's simpler to share an implementation.
it seems it isn't only socket. for example, espidf_clock.c is identical to posix_clock.c.