# sema: handle big-endian when bitcasting between different-sized union fields · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fb33bc99e17427b4dc4143b8c2a5745a9d978db2)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: fb33bc99e17427b4dc4143b8c2a5745a9d978db2

Requested commit: fb33bc99e17427b4dc4143b8c2a5745a9d978db2

Commit: fb33bc99e17427b4dc4143b8c2a5745a9d978db2

Tree: e5cbaf8b7af8ddac15eda028892ab02392b76359

Author: kcbanner

Committer: kcbanner

## Message

```
sema: handle big-endian when bitcasting between different-sized union fields

Updated the tests to also run at runtime, and moved them to union.zig

```

## Parents

- [d657b6c0e2ab7c47f5416dc4df1abb2bfbecd4b6](https://git.cafe/gitcafe/zig/commit/d657b6c0e2ab7c47f5416dc4df1abb2bfbecd4b6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/fb33bc99e17427b4dc4143b8c2a5745a9d978db2?format=markdown)
