Compare commits

...

3 Commits

Author SHA1 Message Date
c419359a8c
use explicit version of split
All checks were successful
Generic zig build / build (push) Successful in 41s
2024-07-01 14:02:17 -07:00
4ce057ffcb
fix license in build.zig.zon
All checks were successful
Generic zig build / build (push) Successful in 33s
2024-06-08 10:16:07 -07:00
b00d9d175f
update ci to zig 0.13.0
All checks were successful
Generic zig build / build (push) Successful in 35s
2024-06-08 09:56:23 -07:00
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: elerch/setup-zig@v3
with:
version: 0.12.0
version: 0.13.0
- uses: elerch/zig-action-cache@v1.1.6
- name: Build project
run: zig build --summary all

View File

@ -6,7 +6,7 @@
"build.zig.zon",
"src",
"README.md",
"LICENSE.md",
"LICENSE",
},
.dependencies = .{

View File

@ -829,7 +829,7 @@ fn getTrait(trait_type: []const u8, value: std.json.Value) SmithyParseError!?Tra
\\aws.protocols#httpChecksum
\\aws.customizations#s3UnwrappedXmlOutput
; // NOTE: inputs/outputs are not used in AWS models, but default is and might be handy
var iterator = std.mem.split(u8, list, "\n");
var iterator = std.mem.splitScalar(u8, list, '\n');
while (iterator.next()) |known_but_unimplemented| {
if (std.mem.eql(u8, trait_type, known_but_unimplemented))
return null;