Skip to content

Commit a03c8ef

Browse files
committed
fixup formatting
1 parent 2d0fd76 commit a03c8ef

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Compilation.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: {

0 commit comments

Comments
 (0)