feat(netwatch): route wasm32-wasip2 to the netdev-free posix_minimal branch - #1
Open
lann wants to merge 1 commit into
Open
feat(netwatch): route wasm32-wasip2 to the netdev-free posix_minimal branch#1lann wants to merge 1 commit into
lann wants to merge 1 commit into
Conversation
…branch netdev (system interface enumeration) does not build for wasm32-wasip2. Extend the `posix_minimal` alias to cover wasi alongside espidf and exclude the netdev dependency there, so wasi takes the existing minimal interface-reporting path. Part of running iroh on wasm32-wasip2 components (polymorph-components/polymorph-iroh#25). Note: main has since restructured these cfgs around a `netdev` alias; a port of this change onto main should target that alias instead.
lann
added a commit
to polymorph-components/polymorph-iroh
that referenced
this pull request
Aug 7, 2026
…oh branch Same treatment as the iroh crates: the two netwatch deltas now live as PR branches on the fork (lann/net-tools#1 wasi posix_minimal/netdev routing, #2 inline socket close on drop), merged into its `polymorph-iroh` branch — the netwatch-v0.19.1 tag (iroh main still requires ^0.19.1) plus exactly the patches the vendor tree carried, source files verified byte-identical before the swap. The guests consume the branch through [patch.crates-io]; the vendor tree is gone. Verified: all three guests build; iroh-relay-ws run (migration 53ms), iroh-blobs verified fetches across the migration, and the full ping-demo Playwright suite pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
netdev (system interface enumeration) does not build for wasm32-wasip2. Extend the
posix_minimalalias to cover wasi alongside espidf and exclude the netdev dependency there, so wasi takes the existing minimal interface-reporting path. The netdev entry gets its own target block so the tokiofs/io-stdfeatures keep their current cfg.Branched from
netwatch-v0.19.1(the version iroh main requires,^0.19.1), which is what the polymorph experiments consume — see polymorph-components/polymorph-iroh#25. Porting note: main has since restructured these cfgs around anetdevalias; an upstream PR should target that alias rather than this literal diff.Sibling: the inline-socket-close drop fix. Both merged into the long-lived
polymorph-irohbranch the experiments consume.