Skip to content

Conversation

@generalmimon
Copy link
Contributor

This follows up on #545. Although it did fix one compile error, fixing it actually revealed other issues that are addressed by this pull request:

  1. Both versions of main.zig were using the old std.ArrayList API from when it was managed, but as of Zig 0.15.1, it is no longer managed: https://ziglang.org/download/0.15.1/release-notes.html#ArrayList-make-unmanaged-the-default

  2. The file unit-testing-skip-foreign/build.zig was missing additional_option=test, so the command zig build --summary all was run instead of the intended command zig build test --summary all.

This follows up on ziglang#545.
Although it did fix one compile error, fixing it actually revealed other
issues that are addressed by this pull request:

1. Both versions of `main.zig` were using the old `std.ArrayList` API
   from when it was managed, but as of Zig 0.15.1, it is no longer
   managed:
   https://ziglang.org/download/0.15.1/release-notes.html#ArrayList-make-unmanaged-the-default

2. The file `unit-testing-skip-foreign/build.zig` was missing
   `additional_option=test`, so the command `zig build --summary all`
   was run instead of the intended command `zig build test --summary all`.
@generalmimon generalmimon force-pushed the fix-unit-testing-examples branch from 91fc966 to f707bfe Compare November 25, 2025 11:16
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.

1 participant