| author | |
| committer | |
| log | b73159f4f57dcdffab526bb2c944b37942d65fc8 |
| tree | 7e4ee78ff59b19a4b60174c54250260b38fac5cc |
| parent | 073f9a18a92fd233e07470e737e15e651618e47f |
2 files changed, 3 insertions(+), 1 deletions(-)
lib/std/macho.zig+2| ... | @@ -143,6 +143,8 @@ pub const TOOL = enum(u32) { | ... | @@ -143,6 +143,8 @@ pub const TOOL = enum(u32) { |
| 143 | CLANG = 0x1, | 143 | CLANG = 0x1, |
| 144 | SWIFT = 0x2, | 144 | SWIFT = 0x2, |
| 145 | LD = 0x3, | 145 | LD = 0x3, |
| 146 | LLD = 0x4, // LLVM's stock LLD linker | ||
| 147 | ZIG = 0x5, // Unofficially Zig | ||
| 146 | _, | 148 | _, |
| 147 | }; | 149 | }; |
| 148 | 150 |
src/link/MachO/load_commands.zig+1-1| ... | @@ -294,7 +294,7 @@ pub fn writeBuildVersionLC(options: *const link.Options, lc_writer: anytype) !vo | ... | @@ -294,7 +294,7 @@ pub fn writeBuildVersionLC(options: *const link.Options, lc_writer: anytype) !vo |
| 294 | .ntools = 1, | 294 | .ntools = 1, |
| 295 | }); | 295 | }); |
| 296 | try lc_writer.writeAll(mem.asBytes(&macho.build_tool_version{ | 296 | try lc_writer.writeAll(mem.asBytes(&macho.build_tool_version{ |
| 297 | .tool = .LD, | 297 | .tool = .ZIG, |
| 298 | .version = 0x0, | 298 | .version = 0x0, |
| 299 | })); | 299 | })); |
| 300 | } | 300 | } |