zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 37ef490fc601092b7141aeffc8e9cbd5b92f7d07 (tree)
parent d9fed5cdfdfa6ac944856cd360d3385296f136e8
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Fri, 30 Aug 2019 15:01:37 -0400

update process_headers.zig for latest zig

Diffstat:
Mtools/process_headers.zig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/process_headers.zig b/tools/process_headers.zig @@ -585,10 +585,10 @@ pub fn main() !void { var sub_path: []const []const u8 = undefined; switch (vendor) { .musl => { - sub_path = [_][]const u8{ search_path, libc_target.name, "usr", "local", "musl", "include" }; + sub_path = &[_][]const u8{ search_path, libc_target.name, "usr", "local", "musl", "include" }; }, .glibc => { - sub_path = [_][]const u8{ search_path, libc_target.name, "usr", "include" }; + sub_path = &[_][]const u8{ search_path, libc_target.name, "usr", "include" }; }, } const target_include_dir = try std.fs.path.join(allocator, sub_path);