# @bitCast size mismatch for macos and windows but not linux

**URL:** <https://ziggit.dev/t/bitcast-size-mismatch-for-macos-and-windows-but-not-linux/15906>\
**Category:** Help\
**Tags:** cross-compile\
**Created:** [June 3, 2026, 10:33pm UTC](https://ziggit.dev/t/bitcast-size-mismatch-for-macos-and-windows-but-not-linux/15906 "2026-06-03T22:33:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![LucasSantos91](https://ziggit.dev/user_avatar/ziggit.dev/lucassantos91/32/440_2.png) [@LucasSantos91](https://ziggit.dev/u/LucasSantos91)\
**Post date:** [June 25, 2026, 10:59am UTC](https://ziggit.dev/t/bitcast-size-mismatch-for-macos-and-windows-but-not-linux/15906/6 "2026-06-25T10:59:54Z")

</div>

This [devlog](https://ziggit.dev/t/devlog-new-bitcast-semantics-and-llvm-backend-improvements/16336) explains the mystery.  
It worked on Linux because, on Linux, the self-hosted backend is the default, which was already using the new semantics.

---

_[View the full topic](https://ziggit.dev/t/bitcast-size-mismatch-for-macos-and-windows-but-not-linux/15906)._
