mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 23:53:15 +00:00
fixup formatting
This commit is contained in:
parent
2d0fd76766
commit
a03c8ef4bf
@ -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) },
|
||||
);
|
||||
};
|
||||
},
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user