| author | |
| committer | |
| log | bd1d2b0ae25ead6cd27c0bfeb65490ee92f06bad |
| tree | ae1036497e9629ef1786fb38d426993dade25edb |
| parent | b3596d72b07880a49228a5756d509ad51100a53a |
This value is very likely incorrect. When glibc_version is provided but
no explicit ABI is provided, use the string "gnu" instead.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Target/Query.zig+1-1| ... | ... | @@ -468,7 +468,7 @@ pub fn zigTriple(self: Query, allocator: Allocator) Allocator.Error![]u8 { |
| 468 | 468 | } |
| 469 | 469 | |
| 470 | 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 | 472 | try result.ensureUnusedCapacity(name.len + 2); |
| 473 | 473 | result.appendAssumeCapacity('-'); |
| 474 | 474 | result.appendSliceAssumeCapacity(name); |