Skip to content

Commit 6349b33

Browse files
committed
extract std.posix from std.os
closes #5019
1 parent d100a8e commit 6349b33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+10356
-10423
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ set(ZIG_STAGE2_SOURCES
286286
"${CMAKE_SOURCE_DIR}/lib/std/multi_array_list.zig"
287287
"${CMAKE_SOURCE_DIR}/lib/std/os.zig"
288288
"${CMAKE_SOURCE_DIR}/lib/std/os/linux.zig"
289-
"${CMAKE_SOURCE_DIR}/lib/std/os/linux/errno/generic.zig"
290289
"${CMAKE_SOURCE_DIR}/lib/std/os/linux/x86_64.zig"
291290
"${CMAKE_SOURCE_DIR}/lib/std/os/linux.zig"
292291
"${CMAKE_SOURCE_DIR}/lib/std/os/linux/IoUring.zig"

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ fn findConfigH(b: *std.Build, config_h_path_option: ?[]const u8) ?[]const u8 {
882882
return path;
883883
} else |_| {
884884
std.log.err("Could not open provided config.h: \"{s}\"", .{path});
885-
std.os.exit(1);
885+
std.process.exit(1);
886886
}
887887
}
888888

lib/std/Random/benchmark.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,15 @@ pub fn main() !void {
144144
i += 1;
145145
if (i == args.len) {
146146
usage();
147-
std.os.exit(1);
147+
std.process.exit(1);
148148
}
149149

150150
filter = args[i];
151151
} else if (std.mem.eql(u8, args[i], "--count")) {
152152
i += 1;
153153
if (i == args.len) {
154154
usage();
155-
std.os.exit(1);
155+
std.process.exit(1);
156156
}
157157

158158
const c = try std.fmt.parseUnsigned(usize, args[i], 10);
@@ -170,7 +170,7 @@ pub fn main() !void {
170170
return;
171171
} else {
172172
usage();
173-
std.os.exit(1);
173+
std.process.exit(1);
174174
}
175175
}
176176

0 commit comments

Comments
 (0)