Skip to content

Conversation

lwjglgamedev
Copy link
Contributor

Changes made for zmath to compile for zig 0.15.1

@hazeycode hazeycode requested a review from Copilot August 31, 2025 14:58
Copilot

This comment was marked as outdated.

hazeycode and others added 4 commits August 31, 2025 16:01
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@hazeycode hazeycode requested a review from Copilot August 31, 2025 15:02
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the zmath library to be compatible with Zig 0.15.1, updating the API calls to match the new ArrayList interface changes introduced in this version.

  • Updates minimum Zig version requirement from 0.14.0 to 0.15.1
  • Migrates ArrayList initialization and method calls to the new allocator-explicit API

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 13 comments.

File Description
build.zig.zon Updates minimum Zig version requirement to 0.15.1
src/benchmark.zig Updates ArrayList API calls to use allocator-explicit methods for Zig 0.15.1 compatibility

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

hazeycode and others added 2 commits August 31, 2025 16:08
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@hazeycode hazeycode merged commit 3a5955b into zig-gamedev:main Aug 31, 2025
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