aboutsummaryrefslogtreecommitdiff
path: root/src/glibc.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-08-05 09:53:16 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-08-05 09:53:37 -0700
commitd6945eeba97fa20256cbff86318950fc376fce91 (patch)
tree0b10037daaeebf6d2a54f1031ae8d849dd627da1 /src/glibc.zig
parent1b88c6a8a2cddef53d80ef5f73d6435828874d51 (diff)
downloadzig-d6945eeba97fa20256cbff86318950fc376fce91.tar.gz
zig-d6945eeba97fa20256cbff86318950fc376fce91.zip
Revert "glibc: Add a temporary hack in abilists loading due to sparcel removal."
This reverts commit 62a01851d9c433ea3f2e98cc986e75d32aece443. No longer needed with the abilists update.
Diffstat (limited to 'src/glibc.zig')
-rw-r--r--src/glibc.zig11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/glibc.zig b/src/glibc.zig
index 85f1828ad4..5214d0a977 100644
--- a/src/glibc.zig
+++ b/src/glibc.zig
@@ -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;
};