mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 03:44:46 +01:00
build maker: rename files to match type
This commit is contained in:
parent
b1b733bf9f
commit
4750ee5137
12 changed files with 9 additions and 9 deletions
|
|
@ -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,
|
||||
|
|
@ -188,7 +188,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) {
|
||||
|
|
@ -215,7 +215,7 @@ fn fuzzWorkerRun(fuzz: *Fuzz, run: Configuration.Step.Index, unit_test_index: u3
|
|||
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 => {
|
||||
|
|
@ -5781,7 +5781,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(.{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue