mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.Target: add managarm OS tag
This commit is contained in:
parent
464eef390b
commit
fdd32a2257
1
lib/compiler/aro/aro/target.zig
vendored
1
lib/compiler/aro/aro/target.zig
vendored
@ -667,6 +667,7 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
|
|||||||
.driverkit => "driverkit",
|
.driverkit => "driverkit",
|
||||||
.visionos => "xros",
|
.visionos => "xros",
|
||||||
.serenity => "serenity",
|
.serenity => "serenity",
|
||||||
|
.managarm => "managarm",
|
||||||
.opencl,
|
.opencl,
|
||||||
.opengl,
|
.opengl,
|
||||||
.vulkan,
|
.vulkan,
|
||||||
|
|||||||
@ -22,6 +22,7 @@ pub const Os = struct {
|
|||||||
contiki,
|
contiki,
|
||||||
fuchsia,
|
fuchsia,
|
||||||
hermit,
|
hermit,
|
||||||
|
managarm,
|
||||||
|
|
||||||
aix,
|
aix,
|
||||||
haiku,
|
haiku,
|
||||||
@ -158,6 +159,8 @@ pub const Os = struct {
|
|||||||
.freestanding,
|
.freestanding,
|
||||||
.other,
|
.other,
|
||||||
|
|
||||||
|
.managarm,
|
||||||
|
|
||||||
.haiku,
|
.haiku,
|
||||||
.plan9,
|
.plan9,
|
||||||
.serenity,
|
.serenity,
|
||||||
@ -388,6 +391,8 @@ pub const Os = struct {
|
|||||||
.freestanding,
|
.freestanding,
|
||||||
.other,
|
.other,
|
||||||
|
|
||||||
|
.managarm,
|
||||||
|
|
||||||
.haiku,
|
.haiku,
|
||||||
.plan9,
|
.plan9,
|
||||||
.serenity,
|
.serenity,
|
||||||
@ -895,6 +900,7 @@ pub const Abi = enum {
|
|||||||
.contiki,
|
.contiki,
|
||||||
.fuchsia,
|
.fuchsia,
|
||||||
.hermit,
|
.hermit,
|
||||||
|
.managarm,
|
||||||
.plan9,
|
.plan9,
|
||||||
.serenity,
|
.serenity,
|
||||||
.zos,
|
.zos,
|
||||||
@ -2094,6 +2100,7 @@ pub fn requiresLibC(target: *const Target) bool {
|
|||||||
.netbsd,
|
.netbsd,
|
||||||
.freestanding,
|
.freestanding,
|
||||||
.fuchsia,
|
.fuchsia,
|
||||||
|
.managarm,
|
||||||
.ps3,
|
.ps3,
|
||||||
.zos,
|
.zos,
|
||||||
.rtems,
|
.rtems,
|
||||||
@ -2206,6 +2213,7 @@ pub const DynamicLinker = struct {
|
|||||||
|
|
||||||
.contiki,
|
.contiki,
|
||||||
.hermit,
|
.hermit,
|
||||||
|
.managarm, // Needs to be double-checked.
|
||||||
|
|
||||||
.aix,
|
.aix,
|
||||||
.plan9,
|
.plan9,
|
||||||
@ -2621,6 +2629,8 @@ pub const DynamicLinker = struct {
|
|||||||
|
|
||||||
// TODO go over each item in this list and either move it to the above list, or
|
// TODO go over each item in this list and either move it to the above list, or
|
||||||
// implement the standard dynamic linker path code for it.
|
// implement the standard dynamic linker path code for it.
|
||||||
|
.managarm,
|
||||||
|
|
||||||
.ps3,
|
.ps3,
|
||||||
.ps4,
|
.ps4,
|
||||||
.ps5,
|
.ps5,
|
||||||
@ -3148,6 +3158,7 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) u16 {
|
|||||||
|
|
||||||
.ps3,
|
.ps3,
|
||||||
.contiki,
|
.contiki,
|
||||||
|
.managarm,
|
||||||
.opengl,
|
.opengl,
|
||||||
=> @panic("specify the C integer and float type sizes for this OS"),
|
=> @panic("specify the C integer and float type sizes for this OS"),
|
||||||
}
|
}
|
||||||
|
|||||||
@ -230,6 +230,7 @@ pub fn targetTriple(allocator: Allocator, target: *const std.Target) ![]const u8
|
|||||||
.visionos => "xros",
|
.visionos => "xros",
|
||||||
.serenity => "serenity",
|
.serenity => "serenity",
|
||||||
.vulkan => "vulkan",
|
.vulkan => "vulkan",
|
||||||
|
.managarm => "managarm",
|
||||||
|
|
||||||
.@"3ds",
|
.@"3ds",
|
||||||
.opengl,
|
.opengl,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user