diff options
| author | Alex Kladov <aleksey.kladov@gmail.com> | 2025-06-07 18:07:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-07 10:07:53 -0700 |
| commit | 173bc4274446a14aca2eea128b70b35b0ba18ebe (patch) | |
| tree | dd8012e109095c457d045e533d16532ac80fbd95 /lib/std | |
| parent | aa65fd5d7ca2dda5da8454e863d196745b5a50d3 (diff) | |
| download | zig-173bc4274446a14aca2eea128b70b35b0ba18ebe.tar.gz zig-173bc4274446a14aca2eea128b70b35b0ba18ebe.zip | |
langref: undefined _is_ materialized in all safe modes (#24107)
* trailing whitespace
* langref: undefined _is_ materialized in all safe modes
I am also not super happy about the clause that immediately follows. I
_believe_ what we want to say here is that, simultaneously:
* undefined is guaranteed to be matrerialized in in all safe modes.
A Zig implementation that elides `ptr.* = undefined` in ReleaseSafe
mode would be a non-conforming implementation.
* A Zig program that relies on undefined being materialized is buggy.
But I don't think it's the time to engage this level of language-lawering!
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
