| author | |
| committer | |
| log | a03c8ef4bf526888518d13de1794c28375900cc2 |
| tree | b6010856e910ab84ddeff3c7c81d7387e00b8844 |
| parent | 2d0fd76766eb231ce3021d023ad8fca05cbb81c0 |
3 files changed, 3 insertions(+), 3 deletions(-)
src/Compilation.zig+1-1| ... | ... | @@ -3300,7 +3300,7 @@ fn processOneJob(comp: *Compilation, job: Job) !void { |
| 3300 | 3300 | comp.lockAndSetMiscFailure( |
| 3301 | 3301 | .windows_import_lib, |
| 3302 | 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 | 224 | pdb_source_path: ?[]const u8 = null, |
| 225 | 225 | |
| 226 | 226 | /// (Windows) .def file to specify when linking |
| 227 | module_definition_file: ?[] const u8 = null, | |
| 227 | module_definition_file: ?[]const u8 = null, | |
| 228 | 228 | |
| 229 | 229 | pub fn effectiveOutputMode(options: Options) std.builtin.OutputMode { |
| 230 | 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 | 261 | } |
| 262 | 262 | |
| 263 | 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 | } |
| 266 | 266 | |
| 267 | 267 | const resolved_subsystem: ?std.Target.SubSystem = blk: { |