commit 70a4b76acaef8d4062f4d5317af398929ea6c9c4 (tree)
parent 2f05b1482a6f62658cc70c252d48a24a40404aa8
Author: Andrew Kelley <andrew@ziglang.org>
Date: Fri, 5 May 2023 16:32:11 -0700
std.builtin.AddressSpace: allocate one more bit to this enum
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
@@ -190,7 +190,7 @@ pub const CallingConvention = enum {
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.
-pub const AddressSpace = enum(u4) {
+pub const AddressSpace = enum(u5) {
generic,
gs,
fs,