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.
fitzgen closed issue #1849:
If
cranelift_wasm::TargetEnvironment::reference_typeis overridden to user32on a 64-bit arch, or overridden to user64on 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
TargetIsaor something, and then that used as the unit of granularity for stack maps, instead of pointer size.
fitzgen commented on issue #1849:
That’s correct
Last updated: Dec 06 2025 at 06:05 UTC