You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the musl netdb.h and gethostbyname implemenation are present in the tree, they are disabled in the WASI libc build. WASI does not yet have API support needed to implement gethostbyname.
Agreed, we should do that. This would also be a good function to add as an optional "emulated" function, and have it return some fixed string like "wasihost" or something for compatibility with code that doesn't actually need it to mean anything.
I tried to compile the following code using wasi-sdk
This fails during the linking phase:
even though
gethostname
is implemented bywasi-libc
.The text was updated successfully, but these errors were encountered: