aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorMichael Dusan <michael.dusan@gmail.com>2023-01-02 19:18:33 -0500
committerMichael Dusan <michael.dusan@gmail.com>2023-01-02 19:18:33 -0500
commit69553d60daf1462079a8b5ff995014539c7ad32c (patch)
tree77882cddae5b2d0d686ebbd6a415d6aaa0197cff /src/Compilation.zig
parentef08894d377d294c76ab24e941501470eb04b7ac (diff)
downloadzig-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 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions