diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-08-29 07:30:22 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-08-29 07:51:34 -0400 |
| commit | c5c9d98065890eaeb9070cba20e5a1ed48b392af (patch) | |
| tree | 46ad520853066174a22ad5eb6e3ac81e51f11d16 /std/debug.zig | |
| parent | b8ed0cb3741533e036ee05faa165d2f0c49064f4 (diff) | |
| download | zig-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
