Skip to content

refactor(syslog): use zig_common.syslog - #45

Merged
HaoZeke merged 1 commit into
mainfrom
refactor/syslog-from-zig-common
Nov 19, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
refactor/syslog-from-zig-common

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator
  • build.zig.zon names zig-common 0.11.0.
  • src/main.zig takes syslog from zig_common; src/syslog.zig is removed (457 lines). The two files were equal apart from the import of sys and the header comment.

No behaviour change.

Checked

The ci workflow on the branch: test, zig (ubuntu-latest) and zig (ubuntu-24.04-arm) pass.

Closes #44

zig-common 0.11.0 carries the emitter this repository had in
src/syslog.zig, with the same tests. Build against 0.11.0 and drop the
copy.
@HaoZeke
HaoZeke merged commit 122124d into main Nov 19, 2026
3 checks passed
@HaoZeke
HaoZeke deleted the refactor/syslog-from-zig-common branch November 19, 2026 16:06
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.

syslog: use the emitter zig-common 0.11.0 carries

1 participant