std.Target: Remove liteos OS tag.

It has not seen development in 4 years.

https://github.com/LiteOS/LiteOS/commits/master
This commit is contained in:
Alex Rønne Petersen 2024-08-10 17:59:13 +02:00
parent e211dce6fc
commit 8af4d65108
No known key found for this signature in database
3 changed files with 0 additions and 10 deletions

View File

@ -649,7 +649,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
.visionos => "xros",
.driverkit => "driverkit",
.shadermodel => "shadermodel",
.liteos => "liteos",
.opencl,
.opengl,
.vulkan,

View File

@ -28,7 +28,6 @@ pub const Os = struct {
haiku,
hurd,
linux,
liteos,
plan9,
rtems,
serenity,
@ -166,7 +165,6 @@ pub const Os = struct {
.emscripten,
.driverkit,
.shadermodel,
.liteos,
.uefi,
.opencl, // TODO: OpenCL versions
.opengl, // TODO: GLSL versions
@ -396,7 +394,6 @@ pub const Os = struct {
.emscripten,
.driverkit,
.shadermodel,
.liteos,
.uefi,
.opencl, // TODO: OpenCL versions
.opengl, // TODO: GLSL versions
@ -594,7 +591,6 @@ pub const Os = struct {
.emscripten,
.driverkit,
.shadermodel,
.liteos,
.uefi,
.opencl,
.opengl,
@ -708,7 +704,6 @@ pub const Abi = enum {
.wasi,
.emscripten,
=> .musl,
.liteos => .ohos,
.opencl,
.opengl,
.vulkan,
@ -1853,7 +1848,6 @@ pub const DynamicLinker = struct {
.hurd,
.driverkit,
.shadermodel,
.liteos,
=> none,
};
}
@ -2342,7 +2336,6 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
.opengl,
.driverkit,
.shadermodel,
.liteos,
=> @panic("TODO specify the C integer and float type sizes for this OS"),
}
}

View File

@ -135,7 +135,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.watchos => "watchos",
.driverkit => "driverkit",
.shadermodel => "shadermodel",
.liteos => "liteos",
.visionos => "xros",
.serenity => "serenity",
.vulkan => "vulkan",
@ -246,7 +245,6 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType {
.emscripten => .Emscripten,
.driverkit => .DriverKit,
.shadermodel => .ShaderModel,
.liteos => .LiteOS,
.vulkan => .Vulkan,
.serenity => .Serenity,
};