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: actions/checkout@v4
- uses: elerch/setup-zig@v3 - uses: elerch/setup-zig@v3
with: with:
version: 0.12.0 version: 0.13.0
- uses: elerch/zig-action-cache@v1.1.6 - uses: elerch/zig-action-cache@v1.1.6
- name: Build project - name: Build project
run: zig build --summary all run: zig build --summary all

View File

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

View File

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