diff options
| author | Vexu <git@vexu.eu> | 2019-11-30 15:39:11 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-12-03 12:50:18 -0500 |
| commit | a0ca30ce014f4abd9d31ea335e8860fd1b110495 (patch) | |
| tree | 577b3043e5d720b0916589bf3f9aa07a94b9baa5 /lib/std/builtin.zig | |
| parent | fd7c7be33c95fd1bd77010378b407fc9fb4933e2 (diff) | |
| download | zig-a0ca30ce014f4abd9d31ea335e8860fd1b110495.tar.gz zig-a0ca30ce014f4abd9d31ea335e8860fd1b110495.zip | |
move more startup code to std lib
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index 689c5cd898..789880dd88 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -350,6 +350,22 @@ 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, + Exe, + Lib, + Obj, +}; + +/// 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 { + Static, + Dynamic, +}; + +/// This data structure is used by the Zig language code generation and +/// therefore must be kept in sync with the compiler implementation. pub const Version = struct { major: u32, minor: u32, |
