diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-09-01 18:55:36 -0600 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-02 00:17:59 -0400 |
| commit | 1b2154dfe2f9b5030f487e7c4be8c706ce6e59b5 (patch) | |
| tree | a6ac792b2e778fde3c89c1986b0debfd33a564a1 /lib/std/builtin.zig | |
| parent | 3f7cb14b267bbd823597ba24fd2e3f6f66abcbaa (diff) | |
| download | zig-1b2154dfe2f9b5030f487e7c4be8c706ce6e59b5.tar.gz zig-1b2154dfe2f9b5030f487e7c4be8c706ce6e59b5.zip | |
builtin: Add TypeInfo.StructField.is_comptime
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index 3d103d6d06..911a0eb15c 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -261,6 +261,7 @@ pub const TypeInfo = union(enum) { name: []const u8, field_type: type, default_value: anytype, + is_comptime: bool, }; /// This data structure is used by the Zig language code generation and |
