diff options
| author | 2024-02-02 17:59:21 +0200 | |
|---|---|---|
| committer | 2024-02-02 17:59:21 +0200 | |
| commit | f0161ce3c4e86ea1c309b1db67ca77066bb02779 (patch) | |
| tree | 90114545912bc706737bfbbfc5b313a03dbdf0d1 /src/install.zig | |
| parent | Release 0.3.0 (diff) | |
| download | zup-f0161ce3c4e86ea1c309b1db67ca77066bb02779.tar.gz zup-f0161ce3c4e86ea1c309b1db67ca77066bb02779.tar.xz zup-f0161ce3c4e86ea1c309b1db67ca77066bb02779.zip | |
Update for latest zig
Diffstat (limited to '')
| -rw-r--r-- | src/install.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.zig b/src/install.zig index a459aa6..de6d8f0 100644 --- a/src/install.zig +++ b/src/install.zig | |||
| @@ -55,7 +55,7 @@ pub fn perform(allocator: Allocator, name: []const u8, force: bool, available: I | |||
| 55 | 55 | ||
| 56 | std.log.info("Downloading from {s}...", .{installation.url_str.?}); | 56 | std.log.info("Downloading from {s}...", .{installation.url_str.?}); |
| 57 | 57 | ||
| 58 | var data = try EasyHttp.get(allocator, installation.url.?); | 58 | const data = try EasyHttp.get(allocator, installation.url.?); |
| 59 | defer allocator.free(data); | 59 | defer allocator.free(data); |
| 60 | 60 | ||
| 61 | std.log.info("Extracting...", .{}); | 61 | std.log.info("Extracting...", .{}); |