Revert "glibc: Add a temporary hack in abilists loading due to sparcel removal."

This reverts commit 62a01851d9c433ea3f2e98cc986e75d32aece443.

No longer needed with the abilists update.
This commit is contained in:
Andrew Kelley 2024-08-05 09:53:16 -07:00
parent 1b88c6a8a2
commit d6945eeba9

View File

@ -122,17 +122,6 @@ pub fn loadMetaData(gpa: Allocator, contents: []const u8) LoadMetaDataError!*ABI
return error.ZigInstallationCorrupt;
};
const arch_tag = std.meta.stringToEnum(std.Target.Cpu.Arch, arch_name) orelse {
// TODO: Remove this on the next glibc abilists update.
if (mem.eql(u8, arch_name, "sparcel")) {
targets[i] = .{
.arch = .sparc,
.os = .linux,
.abi = .gnu,
};
continue;
}
log.err("abilists: unrecognized arch: '{s}'", .{arch_name});
return error.ZigInstallationCorrupt;
};