std.Target.Abi: add gnuilp32

This commit is contained in:
Michael Dusan
2021-02-27 13:09:27 -05:00
committed by Andrew Kelley
parent 280195038a
commit 6fe2fb6cdb
3 changed files with 3 additions and 0 deletions

View File

@@ -443,6 +443,7 @@ pub const Target = struct {
gnueabi,
gnueabihf,
gnux32,
gnuilp32,
code16,
eabi,
eabihf,

View File

@@ -127,6 +127,7 @@ pub fn targetTriple(allocator: *Allocator, target: std.Target) ![:0]u8 {
.gnueabi => "gnueabi",
.gnueabihf => "gnueabihf",
.gnux32 => "gnux32",
.gnuilp32 => "gnuilp32",
.code16 => "code16",
.eabi => "eabi",
.eabihf => "eabihf",

View File

@@ -71,6 +71,7 @@ pub fn libCGenericName(target: std.Target) [:0]const u8 {
.gnueabi,
.gnueabihf,
.gnux32,
.gnuilp32,
=> return "glibc",
.musl,
.musleabi,