aboutsummaryrefslogtreecommitdiff
path: root/lib/std/x.zig
blob: 3ac8b10f4a04a4baa7c6cca9559ba9afd6f7ee62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: MIT
// Copyright (c) 2015-2021 Zig Contributors
// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
// The MIT license requires this copyright notice to be included in all copies
// and substantial portions of the software.

const std = @import("std.zig");

pub const os = struct {
    pub const Socket = @import("x/os/socket.zig").Socket;
    pub usingnamespace @import("x/os/io.zig");
    pub usingnamespace @import("x/os/net.zig");
};

pub const net = struct {
    pub const ip = @import("x/net/ip.zig");
    pub const tcp = @import("x/net/tcp.zig");
};

test {
    inline for (.{ os, net }) |module| {
        std.testing.refAllDecls(module);
    }
}