Stream: git-wasmtime

Topic: wasmtime / issue #10244 Conditionally remove page-alignme...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 19 2025 at 20:30):

alexcrichton opened issue #10244:

Currently Wasmtime will allocate space in *.cwasm files to ensure that sections are page-aligned on disk. This is done for two reasons:

When writing up this issue I thought we'd need to fix both these locations but it turns out we already conditionally set data_align by skipping that method if memory_init_cow isn't called. That means that I think the only thing we need to do here is to update compilation to Pulley to use a different alignment for the text section. We already have some logic for conditionally making the .text section executable, so we mostly just need to propagate similar logic back to the actual creation of the *.cwasm file.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2025 at 18:01):

alexcrichton added the enhancement label to Issue #10244.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2025 at 18:01):

alexcrichton added the wasmtime label to Issue #10244.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 27 2025 at 18:01):

alexcrichton added the wasmtime:code-size label to Issue #10244.


Last updated: Feb 28 2025 at 02:27 UTC