diff options
| author | LemonBoy <thatlemon@gmail.com> | 2019-04-20 22:43:53 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-04-29 21:30:19 -0400 |
| commit | 77383f968dde1e0d5d98865db8f560691d5f2afe (patch) | |
| tree | a89e9016107532754a28a70b26625156a5d6cbc6 /std/os.zig | |
| parent | b1a61a6d51919cb8d5d87c53d495406491c53ebf (diff) | |
| download | zig-77383f968dde1e0d5d98865db8f560691d5f2afe.tar.gz zig-77383f968dde1e0d5d98865db8f560691d5f2afe.zip | |
translate-c: Emit @ptrCast + @alignPtr sequence
Avoid producing Zig code that doesn't compile due to mismatched
alignments between pointers.
Always emit a @alignOf instead of hardcoding the alignment value
returned by LLVM for portability sake of the generated code.
Diffstat (limited to 'std/os.zig')
0 files changed, 0 insertions, 0 deletions
