diff --git a/lib/compiler/aro/aro/target.zig b/lib/compiler/aro/aro/target.zig index c822d8d950..5541d4f67e 100644 --- a/lib/compiler/aro/aro/target.zig +++ b/lib/compiler/aro/aro/target.zig @@ -634,7 +634,7 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 { .freebsd => "freebsd", .fuchsia => "fuchsia", .linux => "linux", - .lv2 => "lv2", + .ps3 => "lv2", .netbsd => "netbsd", .openbsd => "openbsd", .solaris => "solaris", diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 55ff3c18fa..41e754d2fb 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -24,7 +24,7 @@ pub const Os = struct { fuchsia, ios, linux, - lv2, + ps3, macos, netbsd, openbsd, @@ -143,7 +143,7 @@ pub const Os = struct { .ananas, .cloudabi, .fuchsia, - .lv2, + .ps3, .zos, .haiku, .minix, @@ -375,7 +375,7 @@ pub const Os = struct { .ananas, .cloudabi, .fuchsia, - .lv2, + .ps3, .zos, .haiku, .minix, @@ -562,7 +562,7 @@ pub const Os = struct { .ananas, .cloudabi, .fuchsia, - .lv2, + .ps3, .zos, .minix, .rtems, @@ -668,7 +668,7 @@ pub const Abi = enum { .ananas, .cloudabi, .dragonfly, - .lv2, + .ps3, .zos, .minix, .rtems, @@ -1805,7 +1805,7 @@ pub const DynamicLinker = struct { .ananas, .cloudabi, .fuchsia, - .lv2, + .ps3, .zos, .minix, .rtems, @@ -2300,7 +2300,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 { }, .cloudabi, - .lv2, + .ps3, .zos, .rtems, .aix, diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 5185ec3ff3..58e71c7eda 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -101,7 +101,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { .freebsd => "freebsd", .fuchsia => "fuchsia", .linux => "linux", - .lv2 => "lv2", + .ps3 => "lv2", .netbsd => "netbsd", .openbsd => "openbsd", .solaris, .illumos => "solaris", @@ -221,7 +221,7 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType { .fuchsia => .Fuchsia, .ios => .IOS, .linux => .Linux, - .lv2 => .Lv2, + .ps3 => .Lv2, .macos => .MacOSX, .netbsd => .NetBSD, .openbsd => .OpenBSD,