From 281707acf3f796e624e5faf5e338878050909f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 22 Aug 2024 22:07:17 +0200 Subject: [PATCH] std.zig.target: Remove `thumb*-linux-gnueabi*` target triples. Grepping for `NO_THUMB` in glibc suggests that glibc does not actually support pure Thumb-2 mode. This is the mode that is implied by these target triples; mixed Arm/Thumb mode should just use the regular `arm*-linux-gnueabi*` triples. --- lib/std/zig/target.zig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/std/zig/target.zig b/lib/std/zig/target.zig index b248f21d6a61d40e8ebdabce29c6ef17273a8b69..42ff83ee92a033ee67f249d30d624b497dadb8d1 100644 --- a/lib/std/zig/target.zig +++ b/lib/std/zig/target.zig @@ -24,12 +24,8 @@ pub const available_libcs = [_]ArchOsAbi{ .{ .arch = .arm, .os = .linux, .abi = .gnueabihf }, .{ .arch = .arm, .os = .linux, .abi = .musleabi }, .{ .arch = .arm, .os = .linux, .abi = .musleabihf }, - .{ .arch = .thumb, .os = .linux, .abi = .gnueabi }, - .{ .arch = .thumb, .os = .linux, .abi = .gnueabihf }, .{ .arch = .thumb, .os = .linux, .abi = .musleabi }, .{ .arch = .thumb, .os = .linux, .abi = .musleabihf }, - .{ .arch = .thumbeb, .os = .linux, .abi = .gnueabi }, - .{ .arch = .thumbeb, .os = .linux, .abi = .gnueabihf }, .{ .arch = .thumbeb, .os = .linux, .abi = .musleabi }, .{ .arch = .thumbeb, .os = .linux, .abi = .musleabihf }, .{ .arch = .arm, .os = .windows, .abi = .gnu }, -- 2.54.0