Stream: git-wasmtime

Topic: wasmtime / issue #13130 Functions `inherit_network` and `...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2026 at 07:51):

gearhand opened issue #13130:

Feature

I wish to have those functions available in C API as wasmtime_inherit_network and wasmtime_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.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2026 at 16:04):

alexcrichton added the wasmtime:c-api label to Issue #13130.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 17 2026 at 16:04):

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

view this post on Zulip Wasmtime GitHub notifications bot (Apr 20 2026 at 18:06):

alexcrichton closed issue #13130:

Feature

I wish to have those functions available in C API as wasmtime_inherit_network and wasmtime_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