|
1 | 1 | const std = @import("std"); |
2 | | -const LibExeObjStep = std.build.LibExeObjStep; |
| 2 | +const CompileStep = std.build.Step.Compile; |
3 | 3 | const ScdocStep = @import("src/build/ScdocStep.zig"); |
4 | 4 |
|
5 | 5 | pub fn build(b: *std.Build) !void { |
@@ -73,7 +73,7 @@ pub fn build(b: *std.Build) !void { |
73 | 73 | test_step.dependOn(&tests_run.step); |
74 | 74 |
|
75 | 75 | // Static C lib |
76 | | - const static_c_lib: ?*std.build.LibExeObjStep = if (target.getOsTag() != .wasi) lib: { |
| 76 | + const static_c_lib: ?*std.build.Step.Compile = if (target.getOsTag() != .wasi) lib: { |
77 | 77 | const static_lib = b.addStaticLibrary(.{ |
78 | 78 | .name = "xev", |
79 | 79 | .root_source_file = .{ .path = "src/c_api.zig" }, |
@@ -194,10 +194,10 @@ fn benchTargets( |
194 | 194 | mode: std.builtin.Mode, |
195 | 195 | install: bool, |
196 | 196 | install_name: ?[]const u8, |
197 | | -) !std.StringHashMap(*LibExeObjStep) { |
| 197 | +) !std.StringHashMap(*CompileStep) { |
198 | 198 | _ = mode; |
199 | 199 |
|
200 | | - var map = std.StringHashMap(*LibExeObjStep).init(b.allocator); |
| 200 | + var map = std.StringHashMap(*CompileStep).init(b.allocator); |
201 | 201 |
|
202 | 202 | // Open the directory |
203 | 203 | const c_dir_path = (comptime thisDir()) ++ "/src/bench"; |
@@ -249,7 +249,7 @@ fn exampleTargets( |
249 | 249 | b: *std.Build, |
250 | 250 | target: std.zig.CrossTarget, |
251 | 251 | optimize: std.builtin.Mode, |
252 | | - c_lib_: ?*std.build.LibExeObjStep, |
| 252 | + c_lib_: ?*std.build.Step.Compile, |
253 | 253 | install: bool, |
254 | 254 | install_name: ?[]const u8, |
255 | 255 | ) !void { |
|
0 commit comments