mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
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:
@@ -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);
|
||||
|
||||
@@ -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(.{
|
||||
|
||||
Reference in New Issue
Block a user