diff options
| author | Michael Dusan <michael.dusan@gmail.com> | 2023-01-02 19:18:33 -0500 |
|---|---|---|
| committer | Michael Dusan <michael.dusan@gmail.com> | 2023-01-02 19:18:33 -0500 |
| commit | 69553d60daf1462079a8b5ff995014539c7ad32c (patch) | |
| tree | 77882cddae5b2d0d686ebbd6a415d6aaa0197cff /lib/std/array_list.zig | |
| parent | ef08894d377d294c76ab24e941501470eb04b7ac (diff) | |
| download | zig-69553d60daf1462079a8b5ff995014539c7ad32c.tar.gz zig-69553d60daf1462079a8b5ff995014539c7ad32c.zip | |
dragonfly: add `std.c.arc4random_buf`
This allows for a more optimal std.crypto.tlcsprng codepath.
Without it a an "incorrect alignment" panic is triggered from
crypto.tlcsprng which aligns a threadlocal but it's actually
not aligned, thus detected by the safety check.
It appears that LLVM-IR does attribute the storage with alignment
but it is ultimately not respected in the final binary for netbsd
and dragonfly.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions
