gearhand opened issue #13130:
Feature
I wish to have those functions available in C API as
wasmtime_inherit_networkandwasmtime_allow_ip_name_lookup.Benefit
Without them I cannot enable network access and dns resolution for my guest code (for example, cannot make http request with wasi-http).
I also did not find any alternative way to enable network access via C API.Implementation
I have already implemented this feature locally and ready to make a PR. My only doubt is that maybe those functions are part of some older way of interacting with network access, and there is an alternative available.
Alternatives
I did not find any.
alexcrichton added the wasmtime:c-api label to Issue #13130.
alexcrichton commented on issue #13130:
Thanks for the report, and happy to review a PR! There's no alternative way of doing this, so if you'd like to post your work we can go from there
alexcrichton closed issue #13130:
Feature
I wish to have those functions available in C API as
wasmtime_inherit_networkandwasmtime_allow_ip_name_lookup.Benefit
Without them I cannot enable network access and dns resolution for my guest code (for example, cannot make http request with wasi-http).
I also did not find any alternative way to enable network access via C API.Implementation
I have already implemented this feature locally and ready to make a PR. My only doubt is that maybe those functions are part of some older way of interacting with network access, and there is an alternative available.
Alternatives
I did not find any.
Last updated: May 03 2026 at 22:13 UTC