diff options
| author | InKryption <inkryption07@gmail.com> | 2023-03-16 01:02:10 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-03-16 13:00:36 +0200 |
| commit | 9964f1c160acd0bf994708333cd69bc070d6c77e (patch) | |
| tree | 95038ad8fe5011ad7df08a567e8c3bc545c3532e /lib/std/Thread/WaitGroup.zig | |
| parent | e1e414e62a86cc460ef215ea8050c953b68b6080 (diff) | |
| download | zig-9964f1c160acd0bf994708333cd69bc070d6c77e.tar.gz zig-9964f1c160acd0bf994708333cd69bc070d6c77e.zip | |
Add error for bad cast from `*T` to `*[n]T`
Casting `*T` to `*[1]T` should still work, but every other length
will now be a compiler error instead of a potential OOB access.
Diffstat (limited to 'lib/std/Thread/WaitGroup.zig')
0 files changed, 0 insertions, 0 deletions
