fixup formatting

This commit is contained in:
kcbanner 2022-11-11 13:31:10 -05:00
parent 2d0fd76766
commit a03c8ef4bf
3 changed files with 3 additions and 3 deletions

View File

@ -3300,7 +3300,7 @@ fn processOneJob(comp: *Compilation, job: Job) !void {
comp.lockAndSetMiscFailure(
.windows_import_lib,
"unable to generate DLL import .lib file for {s}: {s}",
.{link_lib, @errorName(err)},
.{ link_lib, @errorName(err) },
);
};
},

View File

@ -224,7 +224,7 @@ pub const Options = struct {
pdb_source_path: ?[]const u8 = null,
/// (Windows) .def file to specify when linking
module_definition_file: ?[] const u8 = null,
module_definition_file: ?[]const u8 = null,
pub fn effectiveOutputMode(options: Options) std.builtin.OutputMode {
return if (options.use_lld) .Obj else options.output_mode;

View File

@ -261,7 +261,7 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod
}
if (self.base.options.module_definition_file) |def| {
try argv.append(try allocPrint(arena, "-DEF:{s}", .{ def }));
try argv.append(try allocPrint(arena, "-DEF:{s}", .{def}));
}
const resolved_subsystem: ?std.Target.SubSystem = blk: {