2017-12-10 16:40:46 -08:00
|
|
|
pub const AlignedArrayList = @import("array_list.zig").AlignedArrayList;
|
2018-10-03 10:19:10 -07:00
|
|
|
pub const ArrayList = @import("array_list.zig").ArrayList;
|
|
|
|
pub const AutoHashMap = @import("hash_map.zig").AutoHashMap;
|
2019-07-07 08:09:54 -07:00
|
|
|
pub const BloomFilter = @import("bloom_filter.zig").BloomFilter;
|
2017-05-04 11:05:06 -07:00
|
|
|
pub const BufMap = @import("buf_map.zig").BufMap;
|
|
|
|
pub const BufSet = @import("buf_set.zig").BufSet;
|
|
|
|
pub const Buffer = @import("buffer.zig").Buffer;
|
2019-10-17 17:20:22 -07:00
|
|
|
pub const ChildProcess = @import("child_process.zig").ChildProcess;
|
2018-10-03 10:19:10 -07:00
|
|
|
pub const DynLib = @import("dynamic_library.zig").DynLib;
|
2017-05-04 11:05:06 -07:00
|
|
|
pub const HashMap = @import("hash_map.zig").HashMap;
|
2018-08-01 13:26:37 -07:00
|
|
|
pub const Mutex = @import("mutex.zig").Mutex;
|
2019-05-03 20:08:33 -07:00
|
|
|
pub const PackedIntArray = @import("packed_int_array.zig").PackedIntArray;
|
2019-10-17 17:20:22 -07:00
|
|
|
pub const PackedIntArrayEndian = @import("packed_int_array.zig").PackedIntArrayEndian;
|
2019-05-03 20:08:33 -07:00
|
|
|
pub const PackedIntSlice = @import("packed_int_array.zig").PackedIntSlice;
|
2019-10-17 17:20:22 -07:00
|
|
|
pub const PackedIntSliceEndian = @import("packed_int_array.zig").PackedIntSliceEndian;
|
2019-02-25 11:25:21 -08:00
|
|
|
pub const PriorityQueue = @import("priority_queue.zig").PriorityQueue;
|
2019-10-17 17:20:22 -07:00
|
|
|
pub const Progress = @import("progress.zig").Progress;
|
2019-11-23 14:24:01 -08:00
|
|
|
pub const ResetEvent = @import("reset_event.zig").ResetEvent;
|
2018-10-03 10:19:10 -07:00
|
|
|
pub const SegmentedList = @import("segmented_list.zig").SegmentedList;
|
2019-10-17 17:20:22 -07:00
|
|
|
pub const SinglyLinkedList = @import("linked_list.zig").SinglyLinkedList;
|
2018-10-03 10:19:10 -07:00
|
|
|
pub const SpinLock = @import("spinlock.zig").SpinLock;
|
2019-08-22 13:46:37 -07:00
|
|
|
pub const StringHashMap = @import("hash_map.zig").StringHashMap;
|
2019-05-03 20:54:28 -07:00
|
|
|
pub const TailQueue = @import("linked_list.zig").TailQueue;
|
move types from builtin to std
* All the data types from `@import("builtin")` are moved to
`@import("std").builtin`. The target-related types are moved
to `std.Target`. This allows the data types to have methods, such as
`std.Target.current.isDarwin()`.
* `std.os.windows.subsystem` is moved to
`std.Target.current.subsystem`.
* Remove the concept of the panic package from the compiler
implementation. Instead, `std.builtin.panic` is always the panic
function. It checks for `@hasDecl(@import("root"), "panic")`,
or else provides a default implementation.
This is an important step for multibuilds (#3028). Without this change,
the types inside the builtin namespace look like different types, when
trying to merge builds with different target settings. With this change,
Zig can figure out that, e.g., `std.builtin.Os` (the enum type) from one
compilation and `std.builtin.Os` from another compilation are the same
type, even if the target OS value differs.
2019-10-23 15:43:24 -07:00
|
|
|
pub const Target = @import("target.zig").Target;
|
2019-05-24 15:27:18 -07:00
|
|
|
pub const Thread = @import("thread.zig").Thread;
|
2017-05-04 11:05:06 -07:00
|
|
|
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const atomic = @import("atomic.zig");
|
2017-04-17 16:08:41 -07:00
|
|
|
pub const base64 = @import("base64.zig");
|
2017-03-31 02:48:15 -07:00
|
|
|
pub const build = @import("build.zig");
|
move types from builtin to std
* All the data types from `@import("builtin")` are moved to
`@import("std").builtin`. The target-related types are moved
to `std.Target`. This allows the data types to have methods, such as
`std.Target.current.isDarwin()`.
* `std.os.windows.subsystem` is moved to
`std.Target.current.subsystem`.
* Remove the concept of the panic package from the compiler
implementation. Instead, `std.builtin.panic` is always the panic
function. It checks for `@hasDecl(@import("root"), "panic")`,
or else provides a default implementation.
This is an important step for multibuilds (#3028). Without this change,
the types inside the builtin namespace look like different types, when
trying to merge builds with different target settings. With this change,
Zig can figure out that, e.g., `std.builtin.Os` (the enum type) from one
compilation and `std.builtin.Os` from another compilation are the same
type, even if the target OS value differs.
2019-10-23 15:43:24 -07:00
|
|
|
pub const builtin = @import("builtin.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const c = @import("c.zig");
|
2018-07-21 11:30:11 -07:00
|
|
|
pub const coff = @import("coff.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const crypto = @import("crypto.zig");
|
2016-05-07 10:52:52 -07:00
|
|
|
pub const cstr = @import("cstr.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const debug = @import("debug.zig");
|
2017-05-04 11:05:06 -07:00
|
|
|
pub const dwarf = @import("dwarf.zig");
|
|
|
|
pub const elf = @import("elf.zig");
|
2018-03-07 00:55:52 -08:00
|
|
|
pub const event = @import("event.zig");
|
2019-11-04 12:05:29 -08:00
|
|
|
pub const fifo = @import("fifo.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const fmt = @import("fmt.zig");
|
2019-05-24 15:27:18 -07:00
|
|
|
pub const fs = @import("fs.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const hash = @import("hash.zig");
|
2018-08-23 20:08:34 -07:00
|
|
|
pub const hash_map = @import("hash_map.zig");
|
2017-10-31 01:47:55 -07:00
|
|
|
pub const heap = @import("heap.zig");
|
2019-04-12 03:35:57 -07:00
|
|
|
pub const http = @import("http.zig");
|
2017-03-09 16:12:15 -08:00
|
|
|
pub const io = @import("io.zig");
|
2018-05-01 23:04:40 -07:00
|
|
|
pub const json = @import("json.zig");
|
2019-02-08 15:18:47 -08:00
|
|
|
pub const lazyInit = @import("lazy_init.zig").lazyInit;
|
2018-02-19 14:06:54 -08:00
|
|
|
pub const macho = @import("macho.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const math = @import("math.zig");
|
2016-05-08 01:34:00 -07:00
|
|
|
pub const mem = @import("mem.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const meta = @import("meta.zig");
|
2017-03-09 16:12:15 -08:00
|
|
|
pub const net = @import("net.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const os = @import("os.zig");
|
2019-07-07 08:09:54 -07:00
|
|
|
pub const packed_int_array = @import("packed_int_array.zig");
|
2018-07-21 11:30:11 -07:00
|
|
|
pub const pdb = @import("pdb.zig");
|
2019-05-24 15:27:18 -07:00
|
|
|
pub const process = @import("process.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const rand = @import("rand.zig");
|
2018-08-05 15:11:29 -07:00
|
|
|
pub const rb = @import("rb.zig");
|
2017-03-09 16:12:15 -08:00
|
|
|
pub const sort = @import("sort.zig");
|
2019-03-21 19:33:37 -07:00
|
|
|
pub const ascii = @import("ascii.zig");
|
2019-02-08 15:18:47 -08:00
|
|
|
pub const testing = @import("testing.zig");
|
2019-05-24 15:27:18 -07:00
|
|
|
pub const time = @import("time.zig");
|
2017-12-26 22:17:33 -08:00
|
|
|
pub const unicode = @import("unicode.zig");
|
2019-03-11 10:27:04 -07:00
|
|
|
pub const valgrind = @import("valgrind.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const zig = @import("zig.zig");
|
2019-12-12 15:27:17 -08:00
|
|
|
pub const start = @import("start.zig");
|
|
|
|
|
|
|
|
// This forces the start.zig file to be imported, and the comptime logic inside that
|
|
|
|
// file decides whether to export any appropriate start symbols.
|
|
|
|
comptime {
|
|
|
|
_ = start;
|
|
|
|
}
|
2017-04-27 13:15:41 -07:00
|
|
|
|
2019-10-23 21:30:17 -07:00
|
|
|
test "" {
|
2019-10-16 16:16:39 -07:00
|
|
|
meta.refAllDecls(@This());
|
2017-04-27 13:15:41 -07:00
|
|
|
}
|