Skip to content

minor fixes to make zig-gobject work with a zig 0.16 project.#155

Merged
ianprime0509 merged 3 commits into
ianprime0509:mainfrom
timlau:main
Jul 18, 2026
Merged

minor fixes to make zig-gobject work with a zig 0.16 project.#155
ianprime0509 merged 3 commits into
ianprime0509:mainfrom
timlau:main

Conversation

@timlau

@timlau timlau commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

there is some problems with using a zig 0.16 project against zig-gobject.
building zig-gobject works fine and generation of bindings also, but when compiling against the generated binding there is issues.

  • init arrays with .empty, not .{}
  • use juicy main to get args
  • use Io interface to write files
  • use llvm to build examples, the native zig compiler, give .sframe errors when link with lib compiled with gcc 16.1.1

@ianprime0509 ianprime0509 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you!

@ianprime0509
ianprime0509 merged commit 6a6ab48 into ianprime0509:main Jul 18, 2026
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