Stream: git-wasmtime

Topic: wasmtime / issue #1087 [simplejit] Alignment constraints ...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 15 2026 at 17:56):

fitzgen commented on issue #1087:

@bjorn3 is this issue still relevant? Thanks

view this post on Zulip Wasmtime GitHub notifications bot (Jan 15 2026 at 18:24):

bjorn3 commented on issue #1087:

The code alignment is now part of the MachBuffer. Data alignment is still hard-coded in cranelift-jit:

https://github.com/bytecodealliance/wasmtime/blob/1dbea7ebd223a14a0646b3c2b49db198aaa45566/cranelift/jit/src/backend.rs#L24-L25

Read-only data alignment could (and probably should) use isa.symbol_alignment(), but writable data alignment is higher than that. I honestly don't know if that higher alignment actually matters in the first place. Maybe using isa.symbol_alignment() there would be fine too?


Last updated: Jan 29 2026 at 13:25 UTC