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:
1 parent
27ce306c7c
commit
549a6f8b67
4 files changed
+3
-151
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user