Commit c70a673c6e

Haze Booth <isnt@haze.cool>
2019-12-30 07:49:53
array literal address of fix
1 parent e0c7d12
Changed files (1)
lib
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 });
         }
     }