diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-03-18 22:39:59 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-03-19 11:45:09 -0700 |
| commit | cd62005f19ff966d2c42de4daeb9a1e4b644bf76 (patch) | |
| tree | 4bb316708afaf79c971808df792d8fe86274789b /lib/std/std.zig | |
| parent | 7057bffc14602add697eb566b83934b7ad3fd81c (diff) | |
| download | zig-cd62005f19ff966d2c42de4daeb9a1e4b644bf76.tar.gz zig-cd62005f19ff966d2c42de4daeb9a1e4b644bf76.zip | |
extract std.posix from std.os
closes #5019
Diffstat (limited to 'lib/std/std.zig')
| -rw-r--r-- | lib/std/std.zig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/std/std.zig b/lib/std/std.zig index 557b320c24..8aa12ff31a 100644 --- a/lib/std/std.zig +++ b/lib/std/std.zig @@ -85,12 +85,11 @@ pub const math = @import("math.zig"); pub const mem = @import("mem.zig"); pub const meta = @import("meta.zig"); pub const net = @import("net.zig"); -pub const posix = @import("os.zig"); -/// Non-portable Operating System-specific API. pub const os = @import("os.zig"); pub const once = @import("once.zig").once; pub const packed_int_array = @import("packed_int_array.zig"); pub const pdb = @import("pdb.zig"); +pub const posix = @import("posix.zig"); pub const process = @import("process.zig"); /// Deprecated: use `Random` instead. pub const rand = Random; @@ -170,3 +169,7 @@ comptime { test { testing.refAllDecls(@This()); } + +comptime { + debug.assert(@import("std") == @This()); // std lib tests require --zig-lib-dir +} |
