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 {...@@ -3300,7 +3300,7 @@ fn processOneJob(comp: *Compilation, job: Job) !void {
3300 comp.lockAndSetMiscFailure(3300 comp.lockAndSetMiscFailure(
3301 .windows_import_lib,3301 .windows_import_lib,
3302 "unable to generate DLL import .lib file for {s}: {s}",3302 "unable to generate DLL import .lib file for {s}: {s}",
3303 .{link_lib, @errorName(err)},3303 .{ link_lib, @errorName(err) },
3304 );3304 );
3305 };3305 };
3306 },3306 },
src/link.zig+1-1
...@@ -224,7 +224,7 @@ pub const Options = struct {...@@ -224,7 +224,7 @@ pub const Options = struct {
224 pdb_source_path: ?[]const u8 = null,224 pdb_source_path: ?[]const u8 = null,
225225
226 /// (Windows) .def file to specify when linking226 /// (Windows) .def file to specify when linking
227 module_definition_file: ?[] const u8 = null,227 module_definition_file: ?[]const u8 = null,
228228
229 pub fn effectiveOutputMode(options: Options) std.builtin.OutputMode {229 pub fn effectiveOutputMode(options: Options) std.builtin.OutputMode {
230 return if (options.use_lld) .Obj else options.output_mode;230 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...@@ -261,7 +261,7 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod
261 }261 }
262262
263 if (self.base.options.module_definition_file) |def| {263 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}));
265 }265 }
266266
267 const resolved_subsystem: ?std.Target.SubSystem = blk: {267 const resolved_subsystem: ?std.Target.SubSystem = blk: {