mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
We already have a LICENSE file that covers the Zig Standard Library. We no longer need to remind everyone that the license is MIT in every single file. Previously this was introduced to clarify the situation for a fork of Zig that made Zig's LICENSE file harder to find, and replaced it with their own license that required annual payments to their company. However that fork now appears to be dead. So there is no need to reinforce the copyright notice in every single file.
19 lines
430 B
Zig
19 lines
430 B
Zig
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);
|
|
}
|
|
}
|