Skip to content

Conversation

@joncinque
Copy link
Owner

Problem

Zig 0.15 is out, but the package is still on 0.14.

Summary of changes

Now that the solana-zig compiler supports 0.15, update everything!

BREAKING CHANGES:

  • since using namespace was removed, do the right thing and import into root.zig, so imports will need a full path, so sol.PublicKey should become sol.public_key.PublicKey
  • update callconv(.C) -> callconv(.c)
  • change format definition to match new writer API
  • get format strings right: "{}" -> "{f}"
  • update program-test to mollusk, update other deps

#### Problem

Zig 0.15 is out, but the package is still on 0.14.

#### Summary of changes

Now that the solana-zig compiler supports 0.15, update everything!

BREAKING CHANGES:
* since `using namespace` was removed, do the right thing and import
  into `root.zig`, so imports will need a full path, so `sol.PublicKey`
  should become `sol.public_key.PublicKey`
* update `callconv(.C)` -> `callconv(.c)`
* change `format` definition to match new writer API
* get format strings right: `"{}"` -> `"{f}"`
* update program-test to mollusk, update other deps
@joncinque joncinque merged commit 83c6621 into main Oct 27, 2025
6 checks passed
@joncinque joncinque deleted the bump0.15 branch October 27, 2025 20:12
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