Commit c70a673c6e
Changed files (1)
lib
std
lib/std/target.zig
@@ -357,9 +357,9 @@ pub const Target = union(enum) {
};
if (linkage == .Static) {
- return try mem.join(allocator, "-", [_][]const u8{ arch, os, "static" });
+ return try mem.join(allocator, "-", &[_][]const u8{ arch, os, "static" });
} else {
- return try mem.join(allocator, "-", [_][]const u8{ arch, os });
+ return try mem.join(allocator, "-", &[_][]const u8{ arch, os });
}
}