address windows build
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 7m36s

This commit is contained in:
Emil Lerch 2023-08-15 08:50:22 -07:00
parent db82116103
commit 49089ff433
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -61,7 +61,8 @@ pub fn main() anyerror!void {
const allocator = gpa.allocator();
var tests = std.ArrayList(Tests).init(allocator);
defer tests.deinit();
var args = std.process.args();
var args = try std.process.argsWithAllocator(allocator);
defer args.deinit();
while (args.next()) |arg| {
if (std.mem.eql(u8, "-v", arg)) {
verbose += 1;