code: update to zig master in prep for 0.7.0

This commit makes the minimal necessary changes to get things working,
there are further changes which can be made to take advantage of new
features.
This commit is contained in:
Isaac Freund
2020-08-31 15:23:01 +02:00
parent 0bd8274bd4
commit 27b666dbba
14 changed files with 35 additions and 35 deletions

View File

@ -94,7 +94,7 @@ pub fn main() anyerror!void {
log.info(.server, "shutting down", .{});
}
fn printErrorExit(comptime format: []const u8, args: var) noreturn {
fn printErrorExit(comptime format: []const u8, args: anytype) noreturn {
const stderr = std.io.getStdErr().outStream();
stderr.print(format ++ "\n", args) catch std.os.exit(1);
std.os.exit(1);