diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-04-01 15:02:31 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-04-01 15:02:31 -0400 |
| commit | c211b8f91df3ff7545a8cc3e93b58372eeccfe69 (patch) | |
| tree | f2954fa31a037c678d9a6ae4b1fc5bd4294c8099 /src-self-hosted | |
| parent | c2e8788259efd33995e151ace355cb5896cc8a85 (diff) | |
| download | zig-c211b8f91df3ff7545a8cc3e93b58372eeccfe69.tar.gz zig-c211b8f91df3ff7545a8cc3e93b58372eeccfe69.zip | |
fix regressions from previous commit
Diffstat (limited to 'src-self-hosted')
| -rw-r--r-- | src-self-hosted/libc_installation.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-self-hosted/libc_installation.zig b/src-self-hosted/libc_installation.zig index 11708e2a31..60124d30e5 100644 --- a/src-self-hosted/libc_installation.zig +++ b/src-self-hosted/libc_installation.zig @@ -327,7 +327,7 @@ pub const LibCInstallation = struct { var search_buf: [2]Search = undefined; const searches = fillSearch(&search_buf, sdk); - var result_buf = std.ArrayList([]const u8).init(allocator); + var result_buf = std.ArrayList(u8).init(allocator); defer result_buf.deinit(); for (searches) |search| { @@ -366,7 +366,7 @@ pub const LibCInstallation = struct { var search_buf: [2]Search = undefined; const searches = fillSearch(&search_buf, sdk); - var result_buf = try std.ArrayList([]const u8).init(allocator); + var result_buf = std.ArrayList(u8).init(allocator); defer result_buf.deinit(); const arch_sub_dir = switch (builtin.arch) { @@ -420,7 +420,7 @@ pub const LibCInstallation = struct { var search_buf: [2]Search = undefined; const searches = fillSearch(&search_buf, sdk); - var result_buf = try std.ArrayList([]const u8).init(allocator); + var result_buf = std.ArrayList(u8).init(allocator); defer result_buf.deinit(); const arch_sub_dir = switch (builtin.arch) { |
