mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
array literal address of fix
This commit is contained in:
parent
e0c7d12043
commit
c70a673c6e
@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user