Skip to content

Little change#123

Merged
jinzhongjia merged 2 commits into
mainfrom
little-change
Jun 22, 2026
Merged

Little change#123
jinzhongjia merged 2 commits into
mainfrom
little-change

Conversation

@jinzhongjia

Copy link
Copy Markdown
Member
  • Use std.mem.find/findScalar when available and fall back to
    indexOf/indexOfScalar.
  • Keep tests passing across Zig versions with different std.mem APIs.
  • Route test assertions through shared helpers to avoid version-specific
    calls.

- Use std.mem.find/findScalar when available and fall back to
  indexOf/indexOfScalar.
- Keep tests passing across Zig versions with different std.mem APIs.
- Route test assertions through shared helpers to avoid version-specific
  calls.
Reduce repetitive buffer formatting and response parsing when running
JavaScript or replying from event handlers.

- Add `runFmt`, `scriptResult`, `runClientFmt`, `scriptClientResult`,
  and `returnFmt` to streamline common call patterns.
- Add `getRawSlice` and `getRawSliceAt` to expose size-aware raw
  argument access without manual pointer slicing.
- Add tests to ensure these helper APIs stay publicly exposed.
@jinzhongjia jinzhongjia merged commit 047d4ce into main Jun 22, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant