| author | |
| committer | |
| log | 900f969cb3f441d8316eb001e0332f53efdabc1c |
| tree | 63ff032c425615ec65d195695b804bcf6fb9f651 |
| parent | d631bfe0601bbe3b9bfd1ce2c2d0cad90997221f |
2 files changed, 2 insertions(+), 2 deletions(-)
src/link/Elf.zig+1-1| ... | @@ -1426,7 +1426,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation, prog_node: *std.Progress.Node) !v | ... | @@ -1426,7 +1426,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation, prog_node: *std.Progress.Node) !v |
| 1426 | try argv.append("-r"); | 1426 | try argv.append("-r"); |
| 1427 | } | 1427 | } |
| 1428 | 1428 | ||
| 1429 | try argv.append("-error-limit=0"); | 1429 | try argv.append("--error-limit=0"); |
| 1430 | 1430 | ||
| 1431 | if (self.base.options.sysroot) |sysroot| { | 1431 | if (self.base.options.sysroot) |sysroot| { |
| 1432 | try argv.append(try std.fmt.allocPrint(arena, "--sysroot={s}", .{sysroot})); | 1432 | try argv.append(try std.fmt.allocPrint(arena, "--sysroot={s}", .{sysroot})); |
src/link/Wasm.zig+1-1| ... | @@ -2641,7 +2641,7 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation, prog_node: *std.Progress.Node) ! | ... | @@ -2641,7 +2641,7 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation, prog_node: *std.Progress.Node) ! |
| 2641 | // This is necessary because LLD does not behave properly as a library - | 2641 | // This is necessary because LLD does not behave properly as a library - |
| 2642 | // it calls exit() and does not reset all global data between invocations. | 2642 | // it calls exit() and does not reset all global data between invocations. |
| 2643 | try argv.appendSlice(&[_][]const u8{ comp.self_exe_path.?, "wasm-ld" }); | 2643 | try argv.appendSlice(&[_][]const u8{ comp.self_exe_path.?, "wasm-ld" }); |
| 2644 | try argv.append("-error-limit=0"); | 2644 | try argv.append("--error-limit=0"); |
| 2645 | 2645 | ||
| 2646 | if (self.base.options.lto) { | 2646 | if (self.base.options.lto) { |
| 2647 | switch (self.base.options.optimize_mode) { | 2647 | switch (self.base.options.optimize_mode) { |