From a0ca30ce014f4abd9d31ea335e8860fd1b110495 Mon Sep 17 00:00:00 2001 From: Vexu Date: Sat, 30 Nov 2019 15:39:11 +0200 Subject: move more startup code to std lib --- lib/std/builtin.zig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lib/std/builtin.zig') 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 @@ -348,6 +348,22 @@ pub const Endian = enum { Little, }; +/// 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 { -- cgit v1.2.3