diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-15 18:05:50 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-15 18:05:50 -0500 |
| commit | 7293e012d7956b892380517e914108ffadc6941b (patch) | |
| tree | 420049c2174484e2c536d2e36b5b1bb906b921b3 /src/os.cpp | |
| parent | 567c9b688effdb64e3995df09af4b45105515c2c (diff) | |
| download | zig-7293e012d7956b892380517e914108ffadc6941b.tar.gz zig-7293e012d7956b892380517e914108ffadc6941b.zip | |
breaking: fix @sizeOf to be alloc size rather than store size
* Fixes breaches of the guarantee that `@sizeOf(T) >= @alignOf(T)`
* Fixes std.mem.secureZero for integers where this guarantee previously
was breached
* Fixes std.mem.Allocator for integers where this guarantee previously
was breached
Closes #1851
Closes #1864
Diffstat (limited to 'src/os.cpp')
0 files changed, 0 insertions, 0 deletions
