Skip to content

Conversation

@jinzhongjia
Copy link
Member

@jinzhongjia jinzhongjia commented Jul 20, 2025

  • update build.zig to support Zig 0.14 and 0.15 changes in addLibrary/addExecutable APIs
  • conditionally handle library and executable creation based on Zig version
  • improve linker flag debug logging for better clarity

- update build.zig to support Zig 0.14 changes in addLibrary/addExecutable APIs
- conditionally handle library and executable creation based on Zig version
- improve linker flag debug logging for better clarity
@jinzhongjia jinzhongjia changed the title fix(build): add Zig 0.14 compatibility for library and examples fix(build): add Zig 0.14 and 0.15 compatibility for library and examples Jul 20, 2025
@jinzhongjia
Copy link
Member Author

@AlbertShown Can you help me merge this?

Failed action has nothing to do with zig

@AlbertShown AlbertShown merged commit ffb235a into main Jul 21, 2025
96 of 120 checks passed
@jinzhongjia jinzhongjia deleted the zig_master branch July 21, 2025 15:25
Comment on lines +146 to +151
log(.debug, .WebUI, "{s} linker flags:\n", .{
csf.file.src_path.sub_path,
csf.flags,
});
for (csf.flags) |flag| {
log(.debug, .WebUI, " {s}", .{flag});
}

Choose a reason for hiding this comment

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

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.

4 participants