diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-12-03 12:29:55 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-12-03 12:50:42 -0500 |
| commit | 6a046c1bcda1d02d4f9a05ea125ef56b50cf6e7c (patch) | |
| tree | 7a92c39cf94ac84b9a9ff8a48b91a214f1ca806f /lib/std/builtin.zig | |
| parent | ffd21c586dbed40b991c5578b2b2ba7d12c72a8e (diff) | |
| download | zig-6a046c1bcda1d02d4f9a05ea125ef56b50cf6e7c.tar.gz zig-6a046c1bcda1d02d4f9a05ea125ef56b50cf6e7c.zip | |
activate start code when pub main exists
and rename LinkType->LinkMode, OutType->OutputMode
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index 789880dd88..b073d7300b 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -350,8 +350,7 @@ pub const Endian = 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 OutType = enum { - Unknown, +pub const OutputMode = enum { Exe, Lib, Obj, @@ -359,7 +358,7 @@ pub const OutType = 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 LinkType = enum { +pub const LinkMode = enum { Static, Dynamic, }; |
