| ... | @@ -64,7 +64,9 @@ pub fn append(opts: @This(), buffer: *std.array_list.Managed(u8)) Allocator.Erro | ... | @@ -64,7 +64,9 @@ pub fn append(opts: @This(), buffer: *std.array_list.Managed(u8)) Allocator.Erro |
| 64 | \\pub const unwind_tables: std.lang.UnwindTables = .{f}; | 64 | \\pub const unwind_tables: std.lang.UnwindTables = .{f}; |
| 65 | \\pub const is_test = {}; | 65 | \\pub const is_test = {}; |
| 66 | \\pub const single_threaded = {}; | 66 | \\pub const single_threaded = {}; |
| | 67 | \\/// Deprecated; to be removed in 0.18.0. Use `target.abi` instead. |
| 67 | \\pub const abi: std.Target.Abi = .{f}; | 68 | \\pub const abi: std.Target.Abi = .{f}; |
| | 69 | \\/// Deprecated; to be removed in 0.18.0. Use `target.cpu` instead. |
| 68 | \\pub const cpu: std.Target.Cpu = .{{ | 70 | \\pub const cpu: std.Target.Cpu = .{{ |
| 69 | \\ .arch = .{f}, | 71 | \\ .arch = .{f}, |
| 70 | \\ .model = &std.Target.{f}.cpu.{f}, | 72 | \\ .model = &std.Target.{f}.cpu.{f}, |
| ... | @@ -95,6 +97,7 @@ pub fn append(opts: @This(), buffer: *std.array_list.Managed(u8)) Allocator.Erro | ... | @@ -95,6 +97,7 @@ pub fn append(opts: @This(), buffer: *std.array_list.Managed(u8)) Allocator.Erro |
| 95 | try buffer.print( | 97 | try buffer.print( |
| 96 | \\ }}), | 98 | \\ }}), |
| 97 | \\}}; | 99 | \\}}; |
| | 100 | \\/// Deprecated; to be removed in 0.18.0. Use `target.os` instead. |
| 98 | \\pub const os: std.Target.Os = .{{ | 101 | \\pub const os: std.Target.Os = .{{ |
| 99 | \\ .tag = .{f}, | 102 | \\ .tag = .{f}, |
| 100 | \\ .version_range = .{{ | 103 | \\ .version_range = .{{ |
| ... | @@ -238,6 +241,7 @@ pub fn append(opts: @This(), buffer: *std.array_list.Managed(u8)) Allocator.Erro | ... | @@ -238,6 +241,7 @@ pub fn append(opts: @This(), buffer: *std.array_list.Managed(u8)) Allocator.Erro |
| 238 | const link_libc = opts.link_libc; | 241 | const link_libc = opts.link_libc; |
| 239 | | 242 | |
| 240 | try buffer.print( | 243 | try buffer.print( |
| | 244 | \\/// Deprecated; to be removed in 0.18.0. Use `target.ofmt` instead. |
| 241 | \\pub const object_format: std.Target.ObjectFormat = .{f}; | 245 | \\pub const object_format: std.Target.ObjectFormat = .{f}; |
| 242 | \\/// Deprecated, to be removed after 0.18.0 | 246 | \\/// Deprecated, to be removed after 0.18.0 |
| 243 | \\pub const mode = optimize; | 247 | \\pub const mode = optimize; |