Closed ckrowland closed 1 year ago
Thanks for pointing that out! I think I need to set up CI jobs for all build targets to catch such errors as early as possible, as zig is really in flux these days.
It's already quite late here but I'll have a look at it tomorrow and will fix it then; very likely as you suggested: by removing the calls to std.mem.span() which iirc I used to turn C string buffers into zig slices.
Ok cool, no rush. My little project works with zap but thought I should open an issue.
The serve and routes examples on macOS x86_64 with zig version
0.11.0-dev.1622+fc48467a9
produces the following errorRemoving
std.mem.span
from the examples works for me. I don't really know what Span does so opened an issue instead of a PR.