Stream: git-wasmtime

Topic: wasmtime / issue #1849 Cranelift: stack maps assume refer...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2025 at 15:17):

bjorn3 commented on issue #1849:

Cranelift itself no longer has stackmaps. I believe the user stackmap implementation in cranelift-frontend doesn't have any problems with non-pointer sized references.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2025 at 15:53):

fitzgen closed issue #1849:

If cranelift_wasm::TargetEnvironment::reference_type is overridden to use r32 on a 64-bit arch, or overridden to use r64 on a 32-bit arch, then stack maps will be incorrect. This prevents NaN boxing on 32-bit, for example.

The reference size should probably be piped through to TargetIsa or something, and then that used as the unit of granularity for stack maps, instead of pointer size.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 24 2025 at 15:53):

fitzgen commented on issue #1849:

That’s correct


Last updated: Dec 06 2025 at 06:05 UTC