| ... | @@ -468,7 +468,7 @@ pub fn zigTriple(self: Query, allocator: Allocator) Allocator.Error![]u8 { | ... | @@ -468,7 +468,7 @@ pub fn zigTriple(self: Query, allocator: Allocator) Allocator.Error![]u8 { |
| 468 | } | 468 | } |
| 469 | | 469 | |
| 470 | if (self.glibc_version) |v| { | 470 | if (self.glibc_version) |v| { |
| 471 | const name = @tagName(self.abi orelse builtin.target.abi); | 471 | const name = if (self.abi) |abi| @tagName(abi) else "gnu"; |
| 472 | try result.ensureUnusedCapacity(name.len + 2); | 472 | try result.ensureUnusedCapacity(name.len + 2); |
| 473 | result.appendAssumeCapacity('-'); | 473 | result.appendAssumeCapacity('-'); |
| 474 | result.appendSliceAssumeCapacity(name); | 474 | result.appendSliceAssumeCapacity(name); |