2016-02-27 21:06:46 -08:00
|
|
|
pub const Rand = @import("rand.zig").Rand;
|
|
|
|
pub const io = @import("io.zig");
|
|
|
|
pub const os = @import("os.zig");
|
|
|
|
pub const math = @import("math.zig");
|
2016-04-18 16:42:56 -07:00
|
|
|
pub const str = @import("str.zig");
|
2016-05-07 10:52:52 -07:00
|
|
|
pub const cstr = @import("cstr.zig");
|
2016-05-03 20:48:53 -07:00
|
|
|
pub const net = @import("net.zig");
|
2016-05-08 01:34:00 -07:00
|
|
|
pub const list = @import("list.zig");
|
2016-05-09 15:07:38 -07:00
|
|
|
pub const hash_map = @import("hash_map.zig");
|
2016-05-08 01:34:00 -07:00
|
|
|
pub const mem = @import("mem.zig");
|
2016-05-11 14:44:10 -07:00
|
|
|
pub const linux = switch(@compile_var("os")) {
|
|
|
|
linux => @import("linux.zig"),
|
|
|
|
else => null_import,
|
|
|
|
};
|
2016-04-08 13:13:33 -07:00
|
|
|
|
|
|
|
pub fn assert(b: bool) {
|
|
|
|
if (!b) unreachable{}
|
|
|
|
}
|
2016-05-11 14:44:10 -07:00
|
|
|
|
|
|
|
const null_import = @import("empty.zig");
|