| ... | @@ -204,7 +204,7 @@ pub const Target = struct { | ... | @@ -204,7 +204,7 @@ pub const Target = struct { |
| 204 | var query: std.Target.Query = .{}; | 204 | var query: std.Target.Query = .{}; |
| 205 | query.cpu_arch = switch (target.cpu) { | 205 | query.cpu_arch = switch (target.cpu) { |
| 206 | .native => null, | 206 | .native => null, |
| 207 | else => |_, arch| @fromBackingInt(@backingInt(arch)), | 207 | else => |arch| @fromBackingInt(@backingInt(arch)), |
| 208 | }; | 208 | }; |
| 209 | switch (target.cpu) { | 209 | switch (target.cpu) { |
| 210 | .native => |native| query.cpu_model = switch (native.model) { | 210 | .native => |native| query.cpu_model = switch (native.model) { |
| ... | @@ -215,7 +215,7 @@ pub const Target = struct { | ... | @@ -215,7 +215,7 @@ pub const Target = struct { |
| 215 | } | 215 | } |
| 216 | query.os_tag = switch (target.os) { | 216 | query.os_tag = switch (target.os) { |
| 217 | .native => null, | 217 | .native => null, |
| 218 | else => |_, os| @fromBackingInt(@backingInt(os)), | 218 | else => |os| @fromBackingInt(@backingInt(os)), |
| 219 | }; | 219 | }; |
| 220 | switch (target.os) { | 220 | switch (target.os) { |
| 221 | .native => {}, | 221 | .native => {}, |
| ... | @@ -223,7 +223,7 @@ pub const Target = struct { | ... | @@ -223,7 +223,7 @@ pub const Target = struct { |
| 223 | } | 223 | } |
| 224 | query.abi = switch (target.abi) { | 224 | query.abi = switch (target.abi) { |
| 225 | .default => null, | 225 | .default => null, |
| 226 | else => |_, abi| @fromBackingInt(@backingInt(abi)), | 226 | else => |abi| @fromBackingInt(@backingInt(abi)), |
| 227 | }; | 227 | }; |
| 228 | switch (target.abi) { | 228 | switch (target.abi) { |
| 229 | .default => {}, | 229 | .default => {}, |