Skip to content

fix: remove deprecated linkLibC and linkLibCpp#10

Merged
hazeycode merged 2 commits intozig-gamedev:mainfrom
olafmustafar:main
Jan 4, 2026
Merged

fix: remove deprecated linkLibC and linkLibCpp#10
hazeycode merged 2 commits intozig-gamedev:mainfrom
olafmustafar:main

Conversation

@olafmustafar
Copy link
Contributor

linkLibC and linkLibCpp are deprecated in zig 0.15.x, since this commit.

Replacing it with mod.linkSystemLibrary should work, tested on my machine.

Copy link
Member

@hazeycode hazeycode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please set link_libc and link_libcpp to true on the module instead.

@olafmustafar olafmustafar requested a review from hazeycode January 4, 2026 14:55
Copy link
Member

@hazeycode hazeycode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hazeycode hazeycode merged commit 3d1a331 into zig-gamedev:main Jan 4, 2026
2 of 3 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.

2 participants