aboutsummaryrefslogtreecommitdiff
path: root/std/debug.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-08-29 07:30:22 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-08-29 07:51:34 -0400
commitc5c9d98065890eaeb9070cba20e5a1ed48b392af (patch)
tree46ad520853066174a22ad5eb6e3ac81e51f11d16 /std/debug.zig
parentb8ed0cb3741533e036ee05faa165d2f0c49064f4 (diff)
downloadzig-c5c9d98065890eaeb9070cba20e5a1ed48b392af.tar.gz
zig-c5c9d98065890eaeb9070cba20e5a1ed48b392af.zip
introduce align keyword
* remove `@setGlobalAlign` * add align keyword for setting alignment on functions and variables. * loads and stores use alignment from pointer * memcpy, memset use alignment from pointer * add syntax for pointer alignment * slices can have volatile * add u2, i2 primitives * ignore preferred align and use abi align everywhere * back to only having alignOf builtin. preferredAlignOf is too tricky to be useful. See #432. Partial revert of e726925e802eddab53cbfd9aacbc5eefe95c356f. See #37
Diffstat (limited to 'std/debug.zig')
0 files changed, 0 insertions, 0 deletions