Merge pull request 'Remove things deprecated during the 0.15 release cycle' (#30018) from linus/zig:remove-deprecated-stuff into master

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/30018
This commit is contained in:
mlugg
2025-12-06 08:51:15 +01:00
30 changed files with 53 additions and 711 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ pub fn build(b: *std.Build) void {
},
);
const check_config_header = b.addCheckFile(config_header.getOutput(), .{ .expected_exact = @embedFile("config.h") });
const check_config_header = b.addCheckFile(config_header.getOutputFile(), .{ .expected_exact = @embedFile("config.h") });
const test_step = b.step("test", "Test it");
test_step.dependOn(&check_config_header.step);
+3 -3
View File
@@ -9,9 +9,9 @@ pub fn build(b: *std.Build) void {
}),
});
if (is_windows) {
test_obj.linkSystemLibrary("ntdll");
test_obj.linkSystemLibrary("kernel32");
test_obj.linkSystemLibrary("ws2_32");
test_obj.root_module.linkSystemLibrary("ntdll", .{});
test_obj.root_module.linkSystemLibrary("kernel32", .{});
test_obj.root_module.linkSystemLibrary("ws2_32", .{});
}
const test_exe_mod = b.createModule(.{