mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-02 06:16:53 +03:00
build maker: rename files to match type
This commit is contained in:
@@ -16,11 +16,11 @@ const log = std.log;
|
||||
const mem = std.mem;
|
||||
const process = std.process;
|
||||
|
||||
const Fuzz = @import("maker/Fuzz.zig");
|
||||
const Graph = @import("maker/Graph.zig");
|
||||
const Step = @import("maker/Step.zig");
|
||||
const Watch = @import("maker/Watch.zig");
|
||||
const WebServer = @import("maker/WebServer.zig");
|
||||
const Fuzz = @import("Maker/Fuzz.zig");
|
||||
const Graph = @import("Maker/Graph.zig");
|
||||
const Step = @import("Maker/Step.zig");
|
||||
const Watch = @import("Maker/Watch.zig");
|
||||
const WebServer = @import("Maker/WebServer.zig");
|
||||
|
||||
pub const std_options: std.Options = .{
|
||||
.side_channels_mitigations = .none,
|
||||
@@ -12,7 +12,7 @@ const assert = std.debug.assert;
|
||||
const fatal = std.process.fatal;
|
||||
const log = std.log;
|
||||
|
||||
const maker = @import("../maker.zig");
|
||||
const Maker = @import("../Maker.zig");
|
||||
const WebServer = @import("WebServer.zig");
|
||||
|
||||
gpa: Allocator,
|
||||
@@ -179,7 +179,7 @@ fn rebuildTestsWorkerRunFallible(run: Configuration.Step.Index, gpa: Allocator,
|
||||
var buf: [256]u8 = undefined;
|
||||
const stderr = try io.lockStderr(&buf, graph.stderr_mode);
|
||||
defer io.unlockStderr();
|
||||
maker.printErrorMessages(gpa, &compile.step, .{}, stderr.terminal(), .verbose, .indent) catch {};
|
||||
Maker.printErrorMessages(gpa, &compile.step, .{}, stderr.terminal(), .verbose, .indent) catch {};
|
||||
}
|
||||
|
||||
const rebuilt_bin_path = result catch |err| switch (err) {
|
||||
@@ -202,7 +202,7 @@ fn fuzzWorkerRun(fuzz: *Fuzz, run: Configuration.Step.Index) void {
|
||||
error.Canceled => return,
|
||||
};
|
||||
defer io.unlockStderr();
|
||||
maker.printErrorMessages(gpa, &run.step, .{}, stderr.terminal(), .verbose, .indent) catch {};
|
||||
Maker.printErrorMessages(gpa, &run.step, .{}, stderr.terminal(), .verbose, .indent) catch {};
|
||||
return;
|
||||
},
|
||||
else => {
|
||||
+1
-1
@@ -5799,7 +5799,7 @@ fn compileMakeRunner(gpa: Allocator, arena: Allocator, io: Io, options: MakeRunn
|
||||
|
||||
const main_mod_paths: Package.Module.CreateOptions.Paths = .{
|
||||
.root = try .fromRoot(arena, options.dirs, .zig_lib, "compiler"),
|
||||
.root_src_path = "maker.zig",
|
||||
.root_src_path = "Maker.zig",
|
||||
};
|
||||
|
||||
const config = try Compilation.Config.resolve(.{
|
||||
|
||||
Reference in New Issue
Block a user