Skip to content

feat: export translated C headers as a public Zig module - #7

Merged
wemeetagain merged 1 commit into
mainfrom
agent/export-blst-zig-module
Aug 10, 2026
Merged

feat: export translated C headers as a public Zig module#7
wemeetagain merged 1 commit into
mainfrom
agent/export-blst-zig-module

Conversation

@wemeetagain

@wemeetagain wemeetagain commented Aug 10, 2026

Copy link
Copy Markdown
Member

Summary

  • translate the upstream blst.h declarations, including blst_aux.h, at build time
  • expose the translated bindings as the public blst Zig module
  • link the native blst library transitively for module consumers
  • document module-based usage and add integration-test coverage in CI

Why

Consumers currently receive only the compiled library artifact and must arrange C declarations and linking themselves. Exporting a public module allows applications to use @import("blst") while retaining the target-specific bindings and native implementation supplied by this package.

@wemeetagain
wemeetagain marked this pull request as ready for review August 10, 2026 20:12
@wemeetagain wemeetagain changed the title Export translated C headers as a public Zig module feat: export translated C headers as a public Zig module Aug 10, 2026
@wemeetagain
wemeetagain merged commit 4b13f89 into main Aug 10, 2026
3 checks passed
@wemeetagain
wemeetagain deleted the agent/export-blst-zig-module branch August 10, 2026 20:34
@spiral-ladder

Copy link
Copy Markdown
Member

lgtm

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.

2 participants