commit c70a673c6eb92383d2a8e026374b4b23647db059 (tree)
parent e0c7d12043e37c49537618951bbce47431653609
Author: Haze Booth <isnt@haze.cool>
Date: Mon, 30 Dec 2019 01:49:53 -0500
array literal address of fix
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/target.zig b/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 });
}
}