diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-13 17:09:21 -0500 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-15 03:45:21 -0500 |
| commit | 8159ff8b811a1621674b0f00a01b5a92698af8f9 (patch) | |
| tree | 273c5d568004ec6d40e0d35919ddf81533e54dcd /src/Type.zig | |
| parent | 5ab5113077bf82237978168b32e2b549a4a71feb (diff) | |
| download | zig-8159ff8b811a1621674b0f00a01b5a92698af8f9.tar.gz zig-8159ff8b811a1621674b0f00a01b5a92698af8f9.zip | |
x86_64: implement error set and enum safety
This is all of the expected 0.14.0 progress on #21530, which can now be
postponed once this commit is merged.
This required rewriting the (un)wrap operations since the original
implementations were extremely buggy.
Also adds an easy way to retrigger Sema OPV bugs so that I don't have to
keep updating #22419 all the time.
Diffstat (limited to 'src/Type.zig')
| -rw-r--r-- | src/Type.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Type.zig b/src/Type.zig index 690cc3fea0..d058e6a363 100644 --- a/src/Type.zig +++ b/src/Type.zig @@ -4190,11 +4190,11 @@ pub const @"c_longlong": Type = .{ .ip_index = .c_longlong_type }; pub const @"c_ulonglong": Type = .{ .ip_index = .c_ulonglong_type }; pub const @"c_longdouble": Type = .{ .ip_index = .c_longdouble_type }; -pub const slice_const_u8: Type = .{ .ip_index = .slice_const_u8_type }; pub const manyptr_u8: Type = .{ .ip_index = .manyptr_u8_type }; -pub const single_const_pointer_to_comptime_int: Type = .{ - .ip_index = .single_const_pointer_to_comptime_int_type, -}; +pub const manyptr_const_u8: Type = .{ .ip_index = .manyptr_const_u8_type }; +pub const manyptr_const_u8_sentinel_0: Type = .{ .ip_index = .manyptr_const_u8_sentinel_0_type }; +pub const single_const_pointer_to_comptime_int: Type = .{ .ip_index = .single_const_pointer_to_comptime_int_type }; +pub const slice_const_u8: Type = .{ .ip_index = .slice_const_u8_type }; pub const slice_const_u8_sentinel_0: Type = .{ .ip_index = .slice_const_u8_sentinel_0_type }; pub const vector_16_i8: Type = .{ .ip_index = .vector_16_i8_type }; |
