zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit d6945eeba97fa20256cbff86318950fc376fce91 (tree)
parent 1b88c6a8a2cddef53d80ef5f73d6435828874d51
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon,  5 Aug 2024 09:53:16 -0700

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:
Msrc/glibc.zig | 11-----------
1 file changed, 0 insertions(+), 11 deletions(-)

diff --git 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; };