zig/std/index.zig

21 lines
586 B
Zig
Raw Normal View History

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");
pub const net = @import("net.zig");
pub const list = @import("list.zig");
pub const hash_map = @import("hash_map.zig");
pub const mem = @import("mem.zig");
pub const linux = switch(@compile_var("os")) {
linux => @import("linux.zig"),
else => null_import,
};
pub fn assert(b: bool) {
if (!b) unreachable{}
}
const null_import = @import("empty.zig");