Skip to content

Use translateC() in build.zig instead of @cImport() - #107

Open
jeltz wants to merge 1 commit into
xataio:mainfrom
jeltz:build-translate-c
Open

Use translateC() in build.zig instead of @cImport()#107
jeltz wants to merge 1 commit into
xataio:mainfrom
jeltz:build-translate-c

Conversation

@jeltz

@jeltz jeltz commented May 24, 2026

Copy link
Copy Markdown

Since @cImport() is deprecated in Zig 0.16.0 we should stop using it and instead use std.Build.addTranslateC().

Instead of adding support for the latest Zig in one big PR like #105 this is an attempt to do it in several smaller PRs.

@jeltz
jeltz force-pushed the build-translate-c branch 3 times, most recently from 768fa4c to 6535f87 Compare May 24, 2026 11:03
Since @cImport() is deprecated in Zig 0.16.0 we should stop using it
and instead use std.Build.addTranslateC().
@jeltz
jeltz force-pushed the build-translate-c branch from 6535f87 to 278cdda Compare May 24, 2026 11:16
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