diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-06-05 12:15:56 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-06-06 23:42:15 -0700 |
| commit | 437059f37cc4e7fb0f1398043a88b2d7a9363653 (patch) | |
| tree | 3e7c5f555469bb5f4420a8a04251efd639683402 /src/codegen | |
| parent | 0bf8617d963dc432ed0204b10285cc414becf2fd (diff) | |
| download | zig-437059f37cc4e7fb0f1398043a88b2d7a9363653.tar.gz zig-437059f37cc4e7fb0f1398043a88b2d7a9363653.zip | |
tests: avoid loading 16 MiB onto the stack
Currently, Zig semantically loads an array as a temporary when indexing
it. This means it cannot be guaranteed that only the requested element
is loaded; in particular, our self-hosted backends do not elide the load
of the full array, so this test case was crashing on self-hosted.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
