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",
|
||||
.visionos => "xros",
|
||||
.serenity => "serenity",
|
||||
.managarm => "managarm",
|
||||
.opencl,
|
||||
.opengl,
|
||||
.vulkan,
|
||||
|
||||
@ -22,6 +22,7 @@ pub const Os = struct {
|
||||
contiki,
|
||||
fuchsia,
|
||||
hermit,
|
||||
managarm,
|
||||
|
||||
aix,
|
||||
haiku,
|
||||
@ -158,6 +159,8 @@ pub const Os = struct {
|
||||
.freestanding,
|
||||
.other,
|
||||
|
||||
.managarm,
|
||||
|
||||
.haiku,
|
||||
.plan9,
|
||||
.serenity,
|
||||
@ -388,6 +391,8 @@ pub const Os = struct {
|
||||
.freestanding,
|
||||
.other,
|
||||
|
||||
.managarm,
|
||||
|
||||
.haiku,
|
||||
.plan9,
|
||||
.serenity,
|
||||
@ -895,6 +900,7 @@ pub const Abi = enum {
|
||||
.contiki,
|
||||
.fuchsia,
|
||||
.hermit,
|
||||
.managarm,
|
||||
.plan9,
|
||||
.serenity,
|
||||
.zos,
|
||||
@ -2094,6 +2100,7 @@ pub fn requiresLibC(target: *const Target) bool {
|
||||
.netbsd,
|
||||
.freestanding,
|
||||
.fuchsia,
|
||||
.managarm,
|
||||
.ps3,
|
||||
.zos,
|
||||
.rtems,
|
||||
@ -2206,6 +2213,7 @@ pub const DynamicLinker = struct {
|
||||
|
||||
.contiki,
|
||||
.hermit,
|
||||
.managarm, // Needs to be double-checked.
|
||||
|
||||
.aix,
|
||||
.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
|
||||
// implement the standard dynamic linker path code for it.
|
||||
.managarm,
|
||||
|
||||
.ps3,
|
||||
.ps4,
|
||||
.ps5,
|
||||
@ -3148,6 +3158,7 @@ pub fn cTypeBitSize(target: *const Target, c_type: CType) u16 {
|
||||
|
||||
.ps3,
|
||||
.contiki,
|
||||
.managarm,
|
||||
.opengl,
|
||||
=> @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",
|
||||
.serenity => "serenity",
|
||||
.vulkan => "vulkan",
|
||||
.managarm => "managarm",
|
||||
|
||||
.@"3ds",
|
||||
.opengl,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user