mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 21:38:33 +00:00
std.Target.Abi: Handle a few more GNU ABIs in isGnu().
Importantly, this ensures that the compiler understands that these ABIs need glibc.
This commit is contained in:
parent
6ec7757914
commit
c31409baa9
@ -720,7 +720,16 @@ pub const Abi = enum {
|
||||
|
||||
pub inline fn isGnu(abi: Abi) bool {
|
||||
return switch (abi) {
|
||||
.gnu, .gnuabin32, .gnuabi64, .gnueabi, .gnueabihf, .gnux32 => true,
|
||||
.gnu,
|
||||
.gnuabin32,
|
||||
.gnuabi64,
|
||||
.gnueabi,
|
||||
.gnueabihf,
|
||||
.gnuf32,
|
||||
.gnusf,
|
||||
.gnux32,
|
||||
.gnuilp32,
|
||||
=> true,
|
||||
else => false,
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user