| ... | @@ -357,9 +357,9 @@ pub const Target = union(enum) { | ... | @@ -357,9 +357,9 @@ pub const Target = union(enum) { |
| 357 | }; | 357 | }; |
| 358 | | 358 | |
| 359 | if (linkage == .Static) { | 359 | if (linkage == .Static) { |
| 360 | return try mem.join(allocator, "-", [_][]const u8{ arch, os, "static" }); | 360 | return try mem.join(allocator, "-", &[_][]const u8{ arch, os, "static" }); |
| 361 | } else { | 361 | } else { |
| 362 | return try mem.join(allocator, "-", [_][]const u8{ arch, os }); | 362 | return try mem.join(allocator, "-", &[_][]const u8{ arch, os }); |
| 363 | } | 363 | } |
| 364 | } | 364 | } |
| 365 | | 365 | |