Pin upstream wasm2elf with the sys intrinsics instead of carrying a patch

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-21 18:12:30 -08:00
1 parent 27ce306c7c
commit 549a6f8b67
4 files changed
+3 -151

No files matched your search

+2 -2
View File
@@ -84,8 +84,8 @@ If WABT's `wasm2c` runtime sources (`wasm-rt.h` and `wasm-rt-impl.c`) are not fo
runtime and no OpenSSL, using [wasm2elf-mb](https://git.site.latha.org/nandi/wasm2elf-mb).
`elf/flatten.py` merges the component's allocator module and core module into one core
module; `elf/shim.wat` replaces the canon-lowered `wasi:*` imports with hand-written WAT
that calls Linux syscalls through a few `sys::*` intrinsics (`elf/wasm2elf.patch` adds
those plus bulk-memory `memory.copy`/`memory.fill` to wasm2elf, pinned in `elf/wasm2elf.rev`).
that calls Linux syscalls through a few `sys::*` intrinsics (wasm2elf gained those plus bulk-memory
`memory.copy`/`memory.fill` upstream; the revision is pinned in `elf/wasm2elf.rev`).
The shim speaks HTTP/1.0 over IPv4 TCP with a minimal UDP DNS resolver (nameserver from
`/etc/resolv.conf`). `just test-elf` passes 26 of 27 tests; the failure is