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