authorgravatar for kcbanner@gmail.comCasey Banner <kcbanner@gmail.com> 2022-11-11 13:31:10-05:00
committergravatar for kcbanner@gmail.comCasey Banner <kcbanner@gmail.com> 2023-01-04 21:45:06-05:00
loga03c8ef4bf526888518d13de1794c28375900cc2
treeb6010856e910ab84ddeff3c7c81d7387e00b8844
parent2d0fd76766eb231ce3021d023ad8fca05cbb81c0

fixup formatting


3 files changed, 3 insertions(+), 3 deletions(-)

src/Compilation.zig+1-1
......@@ -3300,7 +3300,7 @@ fn processOneJob(comp: *Compilation, job: Job) !void {
33003300 comp.lockAndSetMiscFailure(
33013301 .windows_import_lib,
33023302 "unable to generate DLL import .lib file for {s}: {s}",
3303 .{link_lib, @errorName(err)},
3303 .{ link_lib, @errorName(err) },
33043304 );
33053305 };
33063306 },
src/link.zig+1-1
......@@ -224,7 +224,7 @@ pub const Options = struct {
224224 pdb_source_path: ?[]const u8 = null,
225225
226226 /// (Windows) .def file to specify when linking
227 module_definition_file: ?[] const u8 = null,
227 module_definition_file: ?[]const u8 = null,
228228
229229 pub fn effectiveOutputMode(options: Options) std.builtin.OutputMode {
230230 return if (options.use_lld) .Obj else options.output_mode;
src/link/Coff/lld.zig+1-1
......@@ -261,7 +261,7 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod
261261 }
262262
263263 if (self.base.options.module_definition_file) |def| {
264 try argv.append(try allocPrint(arena, "-DEF:{s}", .{ def }));
264 try argv.append(try allocPrint(arena, "-DEF:{s}", .{def}));
265265 }
266266
267267 const resolved_subsystem: ?std.Target.SubSystem = blk: {