| ... | @@ -535,7 +535,7 @@ pub const Builder = struct { | ... | @@ -535,7 +535,7 @@ pub const Builder = struct { |
| 535 | return Target.Native; | 535 | return Target.Native; |
| 536 | } else { | 536 | } else { |
| 537 | const target_str = self.option([]const u8, "target", "the target to build for") orelse return Target.Native; | 537 | const target_str = self.option([]const u8, "target", "the target to build for") orelse return Target.Native; |
| 538 | return Target.parse(target_str) catch unreachable; // TODO better error message for bad target | 538 | return Target.parse(.{ .arch_os_abi = target_str }) catch unreachable; // TODO better error message for bad target |
| 539 | } | 539 | } |
| 540 | } | 540 | } |
| 541 | | 541 | |