# CBE; implement airLoad and airStore for arrays \(\#10452\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 2f53406ad821c6fd8239551d3b812cd4100929bd

Requested commit: 2f53406ad821c6fd8239551d3b812cd4100929bd

Commit: 2f53406ad821c6fd8239551d3b812cd4100929bd

Tree: 3ef2ae54516af3842c2c144879c5b7ac253b0913

Author: drew

Committer: GitHub

## Message

```
CBE; implement airLoad and airStore for arrays (#10452)

Effectively a small continuation of #10152

This allows the for.zig behavior tests to pass. Unfortunately to fully test everything I had to move a lot of behavior tests from array.zig; most of them now pass (sorry @rainbowbismuth!)

I'm also conflicted on how I store constants into arrays because it's kind of stupid; array's can't be re-initialized using the same syntax, so instead of initializing each element, a new array is made which is copied into the destination. This also required that renderValue can't emit string literals for byte arrays given that they need to always have an extra byte for the NULL terminator, meaning that strings are no longer grep-able in the output.
```

## Parents

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

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