authorgravatar for isnt@haze.coolHaze Booth <isnt@haze.cool> 2019-12-30 01:49:53-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-12-30 05:48:27-05:00
logc70a673c6eb92383d2a8e026374b4b23647db059
tree3696b297d9b85d6e4c94d5f1414caeb4e7dbab97
parente0c7d12043e37c49537618951bbce47431653609

array literal address of fix


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/target.zig+2-2
......@@ -357,9 +357,9 @@ pub const Target = union(enum) {
357357 };
358358
359359 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" });
361361 } else {
362 return try mem.join(allocator, "-", [_][]const u8{ arch, os });
362 return try mem.join(allocator, "-", &[_][]const u8{ arch, os });
363363 }
364364 }
365365