mirror of
https://github.com/ziglang/zig.git
synced 2025-01-31 14:21:14 +00:00
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:
parent
e211dce6fc
commit
8af4d65108
1
lib/compiler/aro/aro/target.zig
vendored
1
lib/compiler/aro/aro/target.zig
vendored
@ -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,
|
||||
|
@ -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"),
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user