bjorn3 requested alexcrichton for a review on PR #8859.
bjorn3 requested wasmtime-core-reviewers for a review on PR #8859.
bjorn3 opened PR #8859 from bjorn3:smaller_wasip1_adapter_part2
to bytecodealliance:main
:
This reduces the size of wasi_snapshot_preview1.command.wasm from 75029 bytes to 53875 bytes for a total win of 21154 bytes. This is done by deduplicating most of the trap messages and the code for printing those trap messages. Also got some small wins by making the assertion message shorter.
This is a continuation of https://github.com/bytecodealliance/wasmtime/pull/8858.
For future reference: https://bytecodealliance.zulipchat.com/#narrow/stream/219900-wasi/topic/wasi-preview1-component-adapter.20size
bjorn3 updated PR #8859.
bjorn3 updated PR #8859.
bjorn3 edited PR #8859.
alexcrichton submitted PR review:
These are some awesome wins, thanks for pushing on this!
alexcrichton merged PR #8859.
Last updated: Nov 22 2024 at 16:03 UTC