diff --git a/README.md b/README.md index f83c391..5c9ca11 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,10 @@ This is for x86_linux. Tested targets: * x86_64-linux * riscv64-linux * aarch64-linux -* x86_64 Windows - -Tested/not working: - +* x86_64-windows * arm-linux + ## Building `zig build` should work. It will build the code generation project, run diff --git a/src/aws.zig b/src/aws.zig index 114a83f..b140a3e 100644 --- a/src/aws.zig +++ b/src/aws.zig @@ -421,7 +421,7 @@ fn buildPath(allocator: std.mem.Allocator, raw_uri: []const u8, comptime ActionR // const writer = buffer.writer(); defer buffer.deinit(); var in_var = false; - var start: u64 = 0; + var start: usize = 0; for (raw_uri) |c, inx| { switch (c) { '{' => { diff --git a/src/case.zig b/src/case.zig index 0d53edf..5287fea 100644 --- a/src/case.zig +++ b/src/case.zig @@ -3,7 +3,7 @@ const expectEqualStrings = std.testing.expectEqualStrings; pub fn snakeToCamel(allocator: std.mem.Allocator, name: []const u8) ![]u8 { var utf8_name = (std.unicode.Utf8View.init(name) catch unreachable).iterator(); - var target_inx: u64 = 0; + var target_inx: usize = 0; var previous_ascii: u8 = 0; // A single word will take the entire length plus our sentinel const rc = try allocator.alloc(u8, name.len + 1);