Repository navigation
chore: bump Zig to 0.17.0, update sokol/NFD/Nuklear, v1.0.2 - #24
Merged
Merged
Conversation
- Zig 0.16.0 -> 0.17.0 (mise, CI workflows, minimum_zig_version, README) - sokol-zig -> master 3990b66, nativefiledialog-extended -> v1.4.1 - third_party: sokol_nuklear.h and nuklear.h synced to upstream master - Replace removed @cImport with build-time translate-c modules (src/cimport/*_c.h -> np2_c / nfd_c / nk_c / stdio_c) - Replace removed `**` array repetition with @Splat - dupeZ -> dupeSentinel(.., 0), fmt.bufPrintZ -> mem.printSentinel(.., 0) - sokol_gfx: stream_update/updateImage -> write_transient/writeImageTransient - build.zig: .Windows -> .windows, b.args -> addPassthruArgs(), macOS bundle step rewritten with install steps (getInstallPath removed) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Zig を 0.17.0(最新安定版)に上げ、依存ライブラリも最新に更新しました。あわせて
zig fmtを適用し、バージョンを 1.0.2 に上げています。依存の更新
.mise.toml、CI ワークフロー 3 本、minimum_zig_version、README)3990b66third_party/sokol/sokol_nuklear.hthird_party/nuklear/nuklear.hthird_partyの 2 ファイルは、どちらも上流の無改変コピーだったことを確認してから差し替えています。Zig 0.17 / sokol の破壊的変更への対応
@cImportの廃止: build.zig のaddTranslateCに移しました。読み込むヘッダーはsrc/cimport/*_c.hに置き、Zig 側からはnp2_c/nfd_c/nk_c/stdio_cとして import します。テストも同じモジュールを使います。**演算子の廃止:@splatに置き換えました。dupeZ→dupeSentinel(.., 0)、std.fmt.bufPrintZ→std.mem.printSentinel(.., 0).Windows→.windows、b.args→addPassthruArgs()getInstallPathが使えなくなったため、mkdir/cp をやめてaddInstallArtifact/addInstallFileで書き直しました。Finder の表示更新用だったtouchは外しています。stream_update+updateImageからwrite_transient+writeImageTransientに移しました。画面は毎フレーム転送し、そのフレーム内で描画しているので、新しい方式がそのまま当てはまります。コミット構成
zig fmtの適用(空白と改行だけの変更)CFBundleVersionは 3)確認したこと
zig buildとzig build testが通ること、デバッグビルドで起動して描画されること-Dtarget=x86_64-windows)が通ることzig fmt --check build.zig srcが通ることzig build bundleの動作(ローカルに SDK がないので CI で確認してください)🤖 Generated with Claude Code